Re: How to read ResourceBundle

2005-07-25 Thread Vincent
I've found Nick Heudecker's tutorial helpful on this subject: http://www.systemmobile.com/articles/strutsMessageResources.html Ashutosh Satyam wrote: > Hi, > In my application I want to set the error key based on whether > the error key is present in resource bundle. The error key is > generat

Re: How to read ResourceBundle

2005-07-25 Thread Laurie Harper
See the Javadoc for Action. To get the resource bundle from your action: http://struts.apache.org/api/org/apache/struts/action/Action.html#getResources(javax.servlet.http.HttpServletRequest) You then have various options for retrieving specific messages: http://struts.apache.org/api/org/apache/

How to read ResourceBundle

2005-07-25 Thread Ashutosh Satyam
Hi, In my application I want to set the error key based on whether the error key is present in resource bundle. The error key is generated in the system and the top most layer 'Action class' is supposed to set the keys based on the error key availability. - - - - - - - - - - - - - - - - - - -