Thanks that worked...although i was hoping to retrieve it using classloader...
Konstantin Kolinko wrote: > > 2011/2/17 Captain Cid <captain_...@indiatimes.com>: >> >> Yes ..got your point...using spring its easy though >> >> My only question is , >> >> can it be accessed using classloader and getResource() >> > > Why? Just use: > > new FileInputStream(new File(System.getProperty("catalina.base"), > "conf/yourfile.properties")); > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Reading-a-file-in-tomcathome-conf-folder-tp30947709p30972865.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