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
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}
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.
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
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
5 matches
Mail list logo