Adding to a web apps class path

L

llennhoff

Hi

We're trying to set up a webapp so that new components may be
dynamically added. Ideally, we would have a /extensions subdirectory
and then each component would have a directory under that with its own
jsps, its own /lib for .jars that only it needs and so forth.

The problem is that the ClassLoader for the web app only search WEB-
INF/lib and WEB-INF/classes. Tomcat lets you override that class
loader. Websphere allows you to specify additional directories to be
searched. But is there any way to extend the class path that isn't
app server specific, so that any J2EE app server could know where to
look?

Thanks in advance for any help

Larry
 

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
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top