Posted By:
Darren_Marvin
Posted On:
Thursday, October 25, 2001 03:51 AM
I have a webservice that is implemented using Apache SOAP server and Tomcat. I would like the underlying code for the service to be able to read a file on the server machine. I can do this by hardcoding the service code with the full local file path eg (/usr/local/files/file.data). I would like to only hard code a relative path to the file, this requires an initial context directory where the service is running. Is it possible to set up this initial context directory to e.g.
$TOMCAT_HOME/webapps/soap
Or is simply always $TOMCAT_HOME or something similar?
Thanks in advance,
Darren.