Hi.  Please don't reply to a random message when you're starting a new thread.

On Fri, Apr 20, 2001 at 10:17:33AM +0800, Sam Liu wrote:
> In ejb project(include .war file), Can i use a properties file?
> because I think properties file is convenient.
> if i can use a properties file, where can i put it? and how can i use it

You can put your properties file in the same place as your classes and then
access it using getClass().getClassLoader().getResourceAsStream().  You
could pass the resulting InputStrean to Properties.load.

Toby.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to