This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to display success message in Struts?
 
jQuery in Action, 3rd edition