• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying messages using action messages

 
Anil Verghese
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am using addActionMessges(String) method to insert messages to be displayed to the customer in m action class and <s:actionMessages/> in my jsp to display them, but after including client validations using Struts2 validations its not working. I am not really sure why? Any suggestions would of great help.

 
Anil Verghese
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I found the solution, actually it was a mistake from my end.. the struts-config.xml entry for validation was not done properly..
Anyways thanks guys.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic