I have a need to read/write a dynamically generated xml to particular directory. The following describes my directory structure
temp/ (directory i need to read and write to
How do I get a reference to this directory "/temp" from within my jsp or servlet. I deploy my app as a "war" file. Jetty-Jboss3.0.2 creates a tmp directory to explode my "war".
Put the tmpdir in a well known place that is NOT within your webapp.
There is no guarante within the spec that your app will be writable or even unpacked.