aspose file tools*
The moose likes Struts and the fly likes Displaying messages using action messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying messages using action messages" Watch "Displaying messages using action messages" New topic
Author

Displaying messages using action messages

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
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

Joined: Oct 11, 2006
Posts: 155
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.
 
 
subject: Displaying messages using action messages
 
Similar Threads
Why this client side javascript is not enabled?
Validations using ActionErros Validate
How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'
Struts 2.0 validations
Error messages are not being displayed while using validator