Question: let's suppose we have two web applications under "webapps" folder; "abc" and "xyz". Is there a way to define a different classpath folder per application? In Tomcat something like "abc.classpath=Directory\_A; xyz.classpath=Directory\_B" would be greate.

Thanks in advance...

Answer: 
Your applications will all load the TOMCAT\_HOME/lib contents. Other than that each of your webapps will load whatever's in their own WEB-INF/lib & WEB-INF/classes folders.
i found a way...

my expoloded web application' s name is "abc". I created "$CATALINA\_BASE/conf/Catalina/localhost/abc.xml" file and defined

```
<Context className="org.apache.catalina.core.StandardContext">
     <Loader className="org.apache.catalina.loader.VirtualWebappLoader"
             virtualClasspath="/externalClasspath/*.jar"/>
</Context>

```

Are there any ideas about this problem? Because it didn't work.