Hello, 

I can't get my War to work... 

I have an 'exploded' war deployed in server/default/lib, called "test.war". I 
have web-inf with a web.xml. in the webapp root i have a test-jsp that tries to 
use some classes i want to be included in this app. Now here's the strange 
thing: 

If i put the classes in a normal package structure under /classes, the JSP can 
find it. 

But, if i jar my classes in a jar-file and put them in /lib instead, the JSP 
cannot find the classes anymore!

Is there something i have forgotten? Shouldn't my WAR application's classloader 
just load all jars in /lib automagically?

I am running 4.0 RC1 on linux. 

Really thankful for pointers!

/Mathias

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929326#3929326

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929326


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to