Hi,
I am using struts2 version 2.1.8.1 and I am trying to set the
struts.multipart.parser property. I can't seem to set it. I have tried
every where, one place at a time.
This is what I have tried.
WEB-INF/classes/struts.xml
<constant name="struts.multipart.parser"
value="org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx"
/>
WEB-INF/classes/struts.properties
struts.multipart.parser=org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx
WEB-INF/classes/loadgeneral.xml <!-- my app config file -->
<interceptor-ref name="fileUpload">
<param name="maximumSize">10240</param>
<param
name="parser">org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx</param>
<param name="saveDir">/.deleted</param>
</interceptor-ref>
I have also tried setting 'struts.multipart.saveDir' but that is not
being set either.
I am getting the follwing warning:
INFO: Unable to find 'struts.multipart.saveDir' property setting. Defaulting to
javax.servlet.context.tempdir
Question:
Does any have an idea of what could be the problem or where I should
set the 'struts.multipart.parser' property?
Any help would be greatly appreciated?
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]