For example:
<constant name="struts.multipart.saveDir" value="temp" />
will save to:
\Apache Tomcat 7.0.14\bin\temp\upload__781d3178_13831f5e207__8000_00000003.tmp
So, instead, how do I make it go to:
C:\my_project\build\web\temp\
Without using the absolute file path because I don't want to reconfigure it each time the project moves. I just want the relative path basically.
EDIT 1:
I don't think it matters, but I'm using Struts 2 version 2.1.8.1
EDIT 2:
I'm using Apache Tomcat. That's where I'm deploying the project to. Is there no way to make a reference to Tomcat's project deployment location in the struts.xml?
Something like:
<constant name="struts.multipart.saveDir" value="..\webapps\project\build\web" />