If you are interested in this question, here is how to
make cgi in tomcat to know the system property path.

1. download the tomcat source, find the
CGIServlet.java 

2. add the following line inside setCGIEnvironment
method, compile it, create the servlet-cgi.jar file
again.

envp.put("PATH",
nullsToBlanks(System.getProperty("java.library.path")));

3. restart the tomcat, now it will find the path
system property.

This is just a temparary way to get it work, wish the
later release tomcat will allow user to configure to
include any system property they need.

Bin


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to