Originally posted by Rajani Deshpande:
I have two applications in my webapps directory. App_A and App_B
App_A has a form to enable file uploading thru struts. The upload works fine, but the problem is by default it gets uploaded to the App_B\webinf directory.
Is there a way to specify which directory it should upload to ?
I have a similar problem but it's a bit weirder.
i have my site accepting uploads okay but for some reason by default it puts the file in $TOMCAT_HOME/bin which is hardly where I would have expected it to end up.
how do i specify in a fairly general way where i expect the file to go? it needs to be general as I work on my own laptop, deploy to a staging server and then eventually deploy to a live server. i don't want to have to rebuild for each deployment, but expect the .war file to be transportable.
TIA - dave.