Hello TOMITA,
If the file exists in the same package as the Bean, then just do:
Properties props = new Properties();
try {
InputStream propsStream = this.getClass().getResourceAsStream(config.txt);
if (propsStream != null) {
props.load(propsStream);
Hello TOMITA,
I know next to nothing about JSP. Haven't touched it. I use XMLC and
Barracuda to do presentation. However, I would think that you should
be able to use getServletContext() or something analogous in JSP.
Jake
Tuesday, August 13, 2002, 11:13:44 AM, you wrote:
TLC Can I use
:
Subject: Re[4]: Quick Question
08/13/02
12:00 PM
Check out the API too.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/servletapi/index.html
Regards,
Michael
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 1:08 PM
Subject: Re: Re[4]: Quick Question
Hi, Alex.
Since JSP's
thanks for the information, I'm going to test it out.
Michael E. Locasto [EMAIL PROTECTED]
13/08/2002 12:34 p.m.
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Re[4]: Quick Question
Check out