servlet's directory

Wei Cheng <[email protected]> Wed, 25 Aug 2004 17:31:06 +0800
Newsgroups gmane.comp.java.sun.servlet
Message-ID <OF14BC5382.16C0F5F7-ON48256EFB.0033FAAE-48256EFB.003418E4@jjsea.com>
 Hi guys,

is there anyway for a servlet to know the directory they are in ?

eg. C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\46xx\WEB-INF\classes\

or at least up to C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\46xx\ ?

___________________________________________________________________________
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