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
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/
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.
- - - - - - - - - - - - - - - - - - -
3 matches
Mail list logo