This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python 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
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!