[Offtopic] Setting the directory where IO occurs in a servlet?

2002-06-30 Thread Roger L. Costello
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

Re: [Offtopic] Setting the directory where IO occurs in a servlet?

2002-06-30 Thread Jacob Kjome
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