wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 MessageResources.properties
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The only requirement is that MessageResources.properties 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
subject: How to deal with errors
Similar Threads
Eclipse w/ Web Tools Platform and Struts
Sue's Book
Best book for learning struts?
what good is a struts framework without session support?
Simple Struts?