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 ActionMessage and ActionError 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 "ActionMessage and ActionError" Watch "ActionMessage and ActionError" New topic
Author

ActionMessage and ActionError

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
What is the difference between addActionError() and addActionMessage in struts1.Please clarify
p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
Sorry for this question.What is the difference between ActionError and ActionMessage.Instead of ActionError can we use ActionMessage to store the errors from validate() mthod in struts1.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ActionMessage and ActionError