You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by gr...@convergys.com on 2001/04/27 00:02:10 UTC

How to get the working directory?

Apologies if this is off topic, but I was able to rationalize the post.
How do you get the working directory of a jsp or servlet -- short of
hard-coding the path?

The system property seems to point to where tomcat was started, which makes
a great deal of sense, but I'm not sure what other approach to take to get
the path of the jsp?

Thanks.

--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.