Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between ActionMessage & ActionError

 
Kalyana Sundaram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(*) What is the difference between ActionMessage & ActionError?
(*) In which scenarios they are good for?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    Kalyana Sundaram
    Ranch Hand
    Posts: 94
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for the quick reply My Learning gets faster
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic