Try to deploy petstore 1.1.2 to jboss3.0, always get exception from servelt container, when reading file by URL from ServletContext().getResource()
String url = getServletContext().getResource("/WEB-INF/xml/requestmappings.xml").toString();
It will append jndi to the path, like url = �jndi:/localhost/WEB-INF/xml/requestmappings.xml�
This url will cause URL exception that �jndi� is not recognized,
: java.net.MalformedURLException: unknown protocol: jndi,
I try to code �http:� or �ftp:� to get around with this, net connection been refused.
I have no clue,
please help
bill