Sure, but you need to create a Properties object to do it and read them in.

http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html

Larry


On Wed, 12 Jan 2005 17:48:51 -0800 (PST), Manisha Sathe wrote:
> I am having property file under WEB-INF directory. I am currently storing 
> something like
> 
> title.mainmenu = Main Menu
> error.validation = Validation Error
> ....
> 
> Can i make use of these variables inside my any normal java classes - or 
> whether these r meant for only JSPs ?

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

Reply via email to