Hi.

I have a little web service, which needs to write a temp file on a tomcat server where the axis2-webapp is running. If I just use a name for the file without any path, on a standard tomcat-server as unzipped from the archive, the file appears in the bin file of the tomcat-server. I could then get to the temp-directory by using "../temp/filename", which works on a standard tomcat-server.

But I have it installed under gentoo linux, where the bin-directory is not in the same directory as the temp-directory, and so I cannot get there with "../temp/filename".

My Question is, if there is some kind of environment-variable or something like that, which I can use to get to the temp-directory and would the code look like? I have seen something like that in a servlet but could not use it in my service, because it is not a servlet :)

I hope it is not to much a tomcat question for this mailing-list.

Greets
Christoph Heyen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to