File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Why this client side javascript is not enabled?
Validations using ActionErros Validate
Error messages are not being displayed while using validator
How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'
Struts 2.0 validations