I'm distributing a servlet, and the servlet needs to know where it is
located.
Ideally, I would like it to get it by setting an environment variable
ie
PROJECT_HOME="/home/project"
export PROJECT_HOME
and then for the program to be able to read this.
I heard somewhere that it is not possible, but i've noticed that tomcat does
it, so if anyone can help me with this topic, that would be great.
Thanks
Rob
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
___________________________________________________________________________
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