Hi 

I am having some trouble getting a resource in a WAR using JBoss 3. This is related to 
trying to deploy Petstore on JBoss 3.

In version 2.4.4 when you use ServeletContext.getResource("/<somefile>"), you get a 
file URL starting with file:C:\...

In version 3.0.0 I am getting a URL beginning with jndi:\\ (by using URL.toString()). 
However if I now try to re-create the supposedly valid URL beginning with jndi:, it 
fails with the message java.net.MalformedURLException: unknown protocol: jndi!!

Can anyone please help me with this?

Thanks a lot
Mak




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to