Tomcat: Place my classes somewhere other than inside WEB-INF?

C

Chris Widmer

hi,

i'm trying to let tomcat pull some classes in from a dir outside of
WEB-INF. i've read something about setting CLASSPATH, but that doesn't
quite work. is there a way to do this (modify the startup script)?


thanks,
chris
 
W

Wendy Smoak

Chris Widmer said:
i'm trying to let tomcat pull some classes in from a dir outside of
WEB-INF. i've read something about setting CLASSPATH, but that doesn't
quite work. is there a way to do this (modify the startup script)?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

While it looks like you can modify the startup script to change the system
classpath, the classpath for an individual webapp is constructed internally.
My guess is that you would have to modify the Tomcat source code to make it
happen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top