On 28/01/2011 20:54, Caldarale, Charles R wrote: >> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] >> Subject: RE: deploying a war file and starting the application > >> I make reference to getRealPath to load a property file. > > It's definitely a bad thing to do. You should be using > ServletContext#getResourceAsStream().
+1. That will also mean you app will work (well, that part of it at least) as an exploded directory or as a WAR file. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org