> Generoso Almaraz wrote:
>
> I need to read a environ variable inside the servlet( unix platform ).
>

 You can't. java.lang.System.getenv() has been deprecated. Use a
startup script that gives a -D parameter to the JVM, then use
System.getProperty(). More details at:

  http://developer.java.sun.com/developer/JDCTechTips/2001/tt1204.html


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
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