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.xml
or something like that.........

Is this a Tomcat fix or a Java fix......
-- 
View this message in context: 
http://www.nabble.com/URI-resolving-to-tomcat-bin-tp22601353p22601353.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to