Hy;

I used tomcat-3.2.1 and in one of my webapps i need to generate
dynamic java classes. The generated code relies on classes
coming with the webapplication. Because with tomcat-3.2.1 the
CLASSPATH is created during startup, i could retrieve it with

System.getProperty("java.class.path")

Now i switched to tomcat-4.2.16 With this release the CLASSPATH
is no more constructed during startup and 

"java.class.path" 

contains only references to the bootstrap jar files.

Is there another method to get the current webapp CLASSPATH ?

Currently i help myself by simply scanning:

/tomcatpath/webapps/mywebapp/WEB-INF/lib
/tomcatpath/common/lib


But maybe there is a better solution ?

regards, Hussayn

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

Reply via email to