I have a webApp that contains classes which access to XML files in a directory. Now I'm using a non relative adress like c:\xml_files or /home/mas/xml_files. but I want to use a relative adress to access these files like /xml_files from my java class in WEB_INF/classes. and all of that are under the webApp's directory under Tomcat/webapps.
this request is to make the webApp fully portable
Thanks for your help