Yes, in 1.4.3 if StripesFilter touches a multipart request more than 
once, it will blow up. This is fixed in the upcoming release.

-Ben

Leonard Gestrin wrote:
> Hi,
>
> I came across strange behavior. This is stripes 1.4.3
>
> I wanted to get access to StripesConfiguration before accessing our own
> security filter (I'll check out security interceptor once 1.5 is out).
>
> So, I did the following in web.xml
>
>     <filter-mapping>
>         <filter-name>StripesFilter</filter-name>
>         <url-pattern>*.action</url-pattern>
>         <dispatcher>REQUEST</dispatcher>
>     </filter-mapping>
>     <filter-mapping>
>         <filter-name>StripesFilter</filter-name>
>         <servlet-name>StripesDispatcher</servlet-name>
>         <dispatcher>REQUEST</dispatcher>
>         <dispatcher>FORWARD</dispatcher>
>     </filter-mapping>
>     <servlet-mapping>
>         <servlet-name>StripesDispatcher</servlet-name>
>         <url-pattern>*.action</url-pattern>
>     </servlet-mapping>
>
> It works fine until it gets to form with file uploads. When these forms
> are submitted, it appears that parameters are not being bound correctly.
> I've seen another thread here some time ago talking about defect with
> multipart with forwards. I am not sure if this is related. If I remove
> filter mapping to *.action, everything works fine. Could it be that
> because StripesFilter is being included twice, multipart requests are
> not being processed properly?
>
> I worked around this problem by removing dependency on
> StripesConfiguration in our filter, so it's not big deal, but it's an
> interesting side effect.
> Thanks
>
> Leonard
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to