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 Spring in Action this week in the Spring 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.
 
wood burning stoves
 
subject: Displaying messages using action messages