> I'm having problems loading resources from WEB-INF/classes 
> using JBoss 3.0.4 w/integrated Jetty. I have placed my application file as
follows:
> "WEB-INF/classes/intraweb/Intraweb.application".

I've done some research, and found something strange:
If I bundled my war inside an ear, I was able to load the resource using the
following lines of code:

        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        java.net.URL resource =
cl.getResource("intraweb/Intraweb.application");

Effectively the same code is used in DefaultResourceResolver.getResource(),
but the ApplicationServlet is _not_ able to load the resource. 

Do you have any suggestions what may cause this behaviour?





-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to