Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing ActionErrors to ActionMessages in struts application

 
Vinutha Jagadish
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a jsp file to display error messages



in my Action Class ActionForward process() method, i have code for adding ActionError like this,



and in validator-rules.xml file has,



Now, my requirement is to change from ActionErrors to ActionMessages,

i changed my code like this,



in Action Class ActionForward process() method, i changed ActionErrors to ActionMessages




and in validator-rules.xml file, i chnged ActionErrors to ActionMessages




anything else am i missing?

Thanks,
Jagadish
 
Vinutha Jagadish
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i change from ActionErrors to ActionMessages, i am not getting error messages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic