This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deal with errors

 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic