File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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