Seems like you're right after all James, I just had to remove the leading
"/" in the resource path. :)

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
net.sf.tapestry.DefaultResourceResolver.getResource(), but the tapestry
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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to