RE: URI resolving to tomcat/bin

2009-03-19 Thread Agent96
Thanks...I just came to the same conclusion too. URI uri = MyClass.class.getResource("/resources/xsd/Message.xsd").toURI() which resolves to myWebApp/WEB-INF/classes/resources/xsd/Message.xsd Matt Caldarale, Charles R wrote: > >> From: Agent96 [mailto:matt.nel...@met

URI resolving to tomcat/bin

2009-03-19 Thread Agent96
Hi, I have a URI that points to a relative location: URI myUri = new URI("resources/myFile.xml"); When I deply my application to Tomcat the location is relative to tomcat/bin. so it would be tomcat/bin/resource/myFile.xml. I was hoping for [TOMCAT_HOME]/Webapps/myWebApp/classes/resources/myFile