This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Difference between ActionMessage & ActionError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Difference between ActionMessage & ActionError" Watch "Difference between ActionMessage & ActionError" New topic
Author

Difference between ActionMessage & ActionError

Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
(*) What is the difference between ActionMessage & ActionError?
(*) In which scenarios they are good for?


Only those who will risk going too far can possibly find out how far one can go !!!
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Originally posted by Kalyana Sundaram:
(*) What is the difference between ActionMessage & ActionError?

  • ActionError is a subclass of ActionMessage.
  • ActionError is deprecated in Struts Version 1.2 and above, with the recommendation that you use ActionMessage instead.
  • Originally posted by Kalyana Sundaram:
    (*) In which scenarios they are good for?

    Use ActionError in Struts 1.1 or 1.0 Applications. Use ActionMessage in Struts 1.2 or above applications.


    Merrill
    Consultant, Sima Solutions
    Kalyana Sundaram
    Ranch Hand

    Joined: Mar 18, 2005
    Posts: 94
    Thanks for the quick reply My Learning gets faster
     
    Don't get me started about those stupid light bulbs.
     
    subject: Difference between ActionMessage & ActionError
     
    It's not a secret anymore!