Re: Accessing ApplicationResources.properties

2003-06-09 Thread ian_d_stewart
respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: Accessing ApplicationResources.properties You can treat it as a ResourceBundle: String bundleName = "com.mycompany.myapp.Applicati

Re: Accessing ApplicationResources.properties

2003-06-09 Thread Kevin Robair
You can treat it as a ResourceBundle: String bundleName = "com.mycompany.myapp.ApplicationResources"; ResourceBundle bundle ResourceBundle.getBundle(bundleName, currentLocale); Leave out currentLocale if you want the default. A more consistent way is, if you have access to the Session"

Accessing ApplicationResources.properties

2003-06-09 Thread Zoran Avtarovski
I have what is hopefully a simple question. I have a set a number of file system specific variables in my ApplicationResources.properties file to make it easier to deploy the application on different platforms. I can access Message Resources properties from Action classes using: MessageResou

RE: Accessing ApplicationResources.properties file in action class

2002-05-20 Thread Andrew Hill
May 20, 2001 21:38 To: [EMAIL PROTECTED] Subject: Accessing ApplicationResources.properties file in action class Hi, I have a requirement of accessing properties(i18n) file in action class. Can any one throw light on it?. Many Thanks, rayaku -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTE

RE: Accessing ApplicationResources.properties file in action class

2002-05-20 Thread Galbreath, Mark
http://www.anassina.com/struts/i18n/i18n.html Mark -Original Message- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 20, 2001 9:38 AM Hi, I have a requirement of accessing properties(i18n) file in action class. Can any one throw light on it?. Many Thanks, rayaku -- To

Accessing ApplicationResources.properties file in action class

2002-05-20 Thread Yaman Kumar
Hi, I have a requirement of accessing properties(i18n) file in action class. Can any one throw light on it?. Many Thanks, rayaku -- To unsubscribe, e-mail: For additional commands, e-mail: