I'm trying to do simple XML validation against a Schema (ha! nothing is ever that simple). In past projects, we have located the /xsd directory under the /WebContent directory of a web project. In these past projects we had to use WSAD and WAS. On a new project we're trying to use lighter tools and use Eclipse/Tomcat 4.1. Tomcat for development, although it is deployed on WAS, but I've already digressed enough.
On WAS, we were able to load the XSD with the following code
and this worked just fine. However, in Tomcat, the url in the code above is coming back as null. So is the /WebContent directory not on the classpath in Tomcat, but it is in WAS? [ December 27, 2006: Message edited by: B Preston ]