When setting up different applications in server.xml for an instance of tomcat,
is there a way to setup different CLASSPATH for each application?
Is there are way to setup CLASSPATH to be "application" specific.
For example, if I have two different applications
 
.../jakarta-tomcat/webapps/prod... and
.../jakarta-tomcat/webapps/test...
 
Can I have tomcat use different CLASSPATH for each.
For example, if beyond these directories I have a packages:
.../jakarta-tomcat/webapps/prod/WEB-INF/classes/package
.../jakarta-tomcat/webapps/test/WEB-INF/classes/package
 
and my classes in package are the same, just different versions (like test and prod instances)
how can I make tomcat to use classes from /prod/...package
when I use URL:
http://something/prod/jsp1.jsp - use classes from prod/.../package and
http://something/test/jsp1.jsp - use classes from test/...package
 
Assuming that in my classes (all of them) I use the same import,
import package.*
 
Please help...
Thanks.
 

Reply via email to