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}
<constant name="struts.multipart.parser"
value="test.MyCustomMultiPartRequest"/>
{code}
Struts gives me this debug statement:
{quote}
Choosing bean (test.MyCustomMultiPartRequest) for interface
org.apache.struts2.dispatcher.multipart.MultiPartRequest to be loaded from
the ObjectFactory
{quote}
I am using object factory 'spring'. And I did try defining a spring bean
for my MyCustomMultiPartRequest object and using just the bean name in the
constant value attribute above, but no luck.
Can anybody help me out?
Thanks,
Brice