Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between ActionMessage & ActionError  RSS feed

 
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
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!