This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes specify resourcebundle in actionerror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "specify resourcebundle in actionerror" Watch "specify resourcebundle in actionerror" New topic

specify resourcebundle in actionerror

Lu Jin

Joined: Feb 22, 2003
Posts: 17
In ActionError, how can I specify the resource bundle for the error message? I am working in a system with multiple modules, and each module has its own resource file.

michelle Wang
Ranch Hand

Joined: Jan 12, 2004
Posts: 65
I using action message instead of action error. bcs in struts 1.2.x, a lot methods under action error have been deprecated already.

in my struts-config.xml i write this:
<message-resources parameter="properties.error_messages" null="false"/>

I using tomcat as my app server, so my is in folder:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\UFIBM\WEB-INF\classes\properties\

michelle Wang <br />SCJP 1.4
I agree. Here's the link:
subject: specify resourcebundle in actionerror
jQuery in Action, 3rd edition