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/