I wish to keep configuration property file outside my war. Suppose i keep it
tomcathome/conf/myfile.properties 
How can I read it using classloader from my webapp application code. I am
not able to access it.

I tried using this.getClass().getClassLoader() or even
this.getClass().getClassLoader().getParent() but coudnt !
-- 
View this message in context: 
http://old.nabble.com/Reading-a-file-in-tomcathome-conf-folder-tp30947709p30947709.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