On Fri, 20 Jun 2003, Xu, John wrote:

> Hi,
> For a jsp page or servlet running within Tomcat, what is the good
> way to find the directory that it is running?  Can we use
> System.getProperty("user.dir")?

For the best answer, you should describe why you want to do this
and/or what are you trying to do.  Then we can tell you the
best/cleanest way to do it.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to