*
The moose likes Struts and the fly likes How to display success message in Struts? 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 "How to display success message in Struts?" Watch "How to display success message in Struts?" New topic
Author

How to display success message in Struts?

Ajushi Jones
Greenhorn

Joined: Dec 11, 2007
Posts: 25
Hi, we could display errors in Struts by doing actionErrors.add(key, new Actionmessage("string")), addErrors(request, actionErrors); and then outputting it into a JSP page via

I'm wondering, how do I output success messages in Struts? How do you normally/conventionally do it?

Thanks in advance!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

addMessages
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display success message in Struts?
 
Similar Threads
Struts 2.1 Need two different success results
Problem validate method of Action Form
Want to display result on the page
display form class values on success page
Waiting Message