That solved the problem. I also had some problem with url objects in jsps. Sometimes they did not include the params I indicated. That was also solved with the cleanup filter.
Dave Newton-4 wrote: > > --- Mahdi Milani Fard <[EMAIL PROTECTED]> wrote: >> I'm trying to upload a file with struts2 [...] > > Try including the action context cleanup filter as the > first filter in your web.xml. If that fixes it for you > as well I'll add something to the upload wiki docs, so > please follow up. > > <filter> > <filter-name>struts-cleanup</filter-name> > <filter-class> > org.apache.struts2.dispatcher.ActionContextCleanUp > </filter-class> > </filter> > > d. > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problem-with-file-upload-in-struts2-tf3584102.html#a10017784 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]