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> > > On Thu, Sep 3, 2009 at 5:16 AM, Johnson nickel <sarava...@elogic.co.in > >wrote: > > > > > Hi all, > > > > I'm developing web applications using struts 2 framework. I have > > upload functionality,I'm not able > > to upload more than 1.5 mb file. > > > > I have defined in struts.xml file <constant > name="struts.multipart.maxSize" > > value="2097152" /> > > > > It was getting uploaded in Unix server. But not working in windows > > platform. > > Any changes is required from application or os enviroment. > > > > > > -- > > View this message in context: > > http://www.nabble.com/File-upload-in-Struts-2-tp25272389p25272389.html > > Sent from the Struts - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > >