File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes How to deal with errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to deal with errors" Watch "How to deal with errors" New topic

How to deal with errors

Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126
I have to deal with ActionError in Struts and in my struts-config.xml i have written :

<message-resources parameter="MessageResources" />

Now according to above statement where hould i put my
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The only requirement is that be someplace that is referenced by the classpath for the application. The root of your WEB-INF/classes directory would be a good place for it.

Consultant, Sima Solutions
I agree. Here's the link:
subject: How to deal with errors
It's not a secret anymore!