File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to deal with errors" Watch "How to deal with errors" New topic
Author

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.


Merrill
Consultant, Sima Solutions
 
wood burning stoves
 
subject: How to deal with errors
 
Similar Threads
Eclipse w/ Web Tools Platform and Struts
what good is a struts framework without session support?
Best book for learning struts?
Sue's Book
Simple Struts?