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