This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying messages using action messages
 
Similar Threads
Validations using ActionErros Validate
Error messages are not being displayed while using validator
Struts 2.0 validations
Why this client side javascript is not enabled?
How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'