On Thu, Sep 3, 2009 at 11:42 AM, Chris Pratt<thechrispr...@gmail.com> wrote:
> Woa!  You can do that?  I didn't know you could inject parameters into a
> specific interceptor by injecting them into the stack!  That's awesome.  We
> need to make that more obvious in the documentation.
>  (*Chris*)
>
> On Thu, Sep 3, 2009 at 6:55 AM, Greg Lindholm <greg.lindh...@gmail.com>wrote:
>
>> You also need to set the maximumSize in the fileUpload interceptor.
>>
>> Here is what I have for 20mb:
>>        <interceptor-ref name="paramsPrepareParamsStack">
>>          <param name="fileUpload.maximumSize ">20000000</param>
>>        </interceptor-ref>
>>


Chris,

I can't remember when we added that, but there is a caveat... I just
can't remember what the caveat is... I think it only works on certain
interceptors, or interceptors that inherit from a certain base
interceptor class. I have to look it up, or you can try to read
through the code. All that I remember is that it's not a
general-purpose thing.

-Wes

-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to