----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
I'm wondering if someone can tell me what's wrong with my attempts to
set my environment variables. I'm using apache with jserv and
servlets...
I'm trying to set an environment variable in jserv.properties like this:
wrapper.env=LD_LIBRARY_PATH=/test/path
And then in a servlet, I've tried reading the environment variable in
two different ways, neither of which works:
String ldLib =
(String)request.getAttribute("org.apache.jserv.LD_LIBRARY_PATH");
and
String ldLib = System.getProperty("LD_LIBRARY_PATH");
I get "null" in both cases. Can someone tell me what's wrong?
Thanks,
Jennifer
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]