Tim,
Thanks for responding. Partial success was I was able to read the
properties file using code snippet below in the servlet init() method:
Properties p = new Properties();
InputStream is = getClass().getResourceAsStream(configFileName);
//configFileName is test.properties
p.load(is)
This property file is loaded and parsed for a property needed by a support
class. The parameter read is passed to the support class. When doing exact same
InputStream is = getClass().getResourceAsStream(parmPassedFromservlet); in the
support class, Tomcat does not start. I posted this earlier last week on:
http://marc.theaimsgroup.com/?l=tomcat-user&m=103982860916736&w=2
Basically, I am facing two issues, 1) dependent on where I start Tomcat from
and 2) Using getResourceAsStream() fails in the support class.
Any tips would be appreciated. Thanks.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>