Hi,
not sure if this may work with Blossom, since it was for an old Spring
MVC version (and old magnolia versions), but we already had a
MagnoliaMultipartResolver which does the bridge between Magnolia
multipart filters and Spring multipart resolvers...

https://openutils.svn.sourceforge.net/svnroot/openutils/trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/

HTH
fabrizio


On Wed, Sep 1, 2010 at 3:07 PM, Danilo Ghirardelli <[email protected]> wrote:
>
>> Have you tried it with CommonsMultipartResolver from Spring, if so, what
>> was the outcome? I havent tried this myself. My assumption is that it should
>> work with the normal spring concepts. But it could be that the magnolia
>> multipart wrapper needs to be bridged into Spring. If that is the case, then
>> it should be added to Blossom.
>
> I tried adding this part to spring configuration, as in their docs:
>
>  <!-- Configure the multipart resolver -->
> <bean id="multipartResolver"
> class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
>    <property name="maxUploadSize" value="100000"/>
> </bean>
>
> Nothing changed, always in error. I tried also changing (with this active)
> from CosMultipartRequestFilter to MultipartRequestFilter (that uses apache
> commons) but nothing changed. I suppose it's impossible to re-parse
> multipart request once Magnolia has parsed it (see MAGNOLIA-3211), so it's
> needed to write a few classes to get the data from the already parsed
> request.
> I will add a jira regarding this. If I succeed implementing the classes I'll
> also attach them as a patch, if not I'll try some workaround.
>
> Regards, Danilo.
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to