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 struts-plugin.xml configuration file with the same bean definition will do. This, however, will not work (whereas it did at least in version 2.1.6): <constant name="struts.multipart.handler" value="com.loadgeneral.struts2.JakartaMultiPartRequestx" /> Brice On Wed, Jan 27, 2010 at 11:38 PM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote: > 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" > > name="jakartax" > > class="com.loadgeneral.struts2.JakartaMultiPartRequestx" > > scope="default" /> > > <constant name="struts.multipart.handler" value="jakartax" /> > > I'm curious why this didn't work... this is the normal approach to > define beans in Struts 2. > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > KapituĊa Javarsovia 2010 > http://javarsovia.pl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >