No, believe it or not, there's no standard way of doing this.

One option is here:

http://javawebparts.sourceforge.net/javadocs/javawebparts/listener/AppConfigContextListener.html

...which is part of Java Web Parts:

http://javawebparts.sourceforge.net

This is a ContextListener which makes it easy to get your config file into an object you can use later.

Frank

Sebastian Stein wrote:
Hi,

I have a config file in WEB-INF/classes/ directory. This file has the
information for database connection. How can I make this file accessible in
all Action classes? I guess there must be a unified way to access such a
file.


Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to