Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-28 Thread Brice Roncace
Lo and behold! This does work. . . the problem I was initially running into was that I was using the name: struts.multipart.parser and not the correct (new as of 2.1.8 ?) struts.multipart.handler So yes, defining the bean to use, in this case jakartax, will accomplish just what a

using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Brice Roncace
I'm trying to use a custom implementation of the org.apache.struts2.dispatcher.multipart.MultiPartRequest interface, but even after changing the appropriate struts2 constant value I still end up with the default JakartaMultiPartRequest. Here's the change I've made to my struts.xml file: {code}

Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Stephen Ince
Brice, I went through a similiar issue. Here is how I resolved it. I spent days on it. You have do it via a plugin. This is not documented any where. create a plugin. e.g fileupload.jar and put in under WEB-INF/lib The jar file should have the classes and a struts-plugin.xml file.

Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Brice Roncace
Hot dang Steve! Thanks! I have a feeling you've saved me a ton of frustration. This really should be documented somewhere. . . Brice On Wed, Jan 27, 2010 at 3:00 PM, Stephen Ince stephenpi...@gmail.comwrote: Brice, I went through a similiar issue. Here is how I resolved it. I spent days

Re: using a custom struts.multipart.parser in struts2.1.8.1

2010-01-27 Thread Lukasz Lenart
2010/1/27 Stephen Ince stephenpi...@gmail.com: The following may not be necessary. Struts.xml struts    constant name=struts.devMode value=false /    bean type=org.apache.struts2.dispatcher.multipart.MultiPartRequest