Hi Folks,
I have a servlet, running in Tomcat 4.0.3, which reads in files and
writes files. Currently it does the reading and writing to the folder
where Tomcat was started. I would like to have control over where the
servlet reads and writes.
My plan for controlling where IO occurs is to
first of all, if WEB-INF/files is where you *always* want to write stuff,
why not do something more portable like this:
servlet
servlet-nameparts/servlet-name
servlet-classPartsDepotServlet/servlet-class
init-param
param-namephysicalFilePath/param-name