tags:

views:

128

answers:

2

What is the difference between ActionError and AcrionMessage ?

A: 

IF the ActionError object is not empty, the user is forwarded to the input page. When using ActionMessage, such differentiation is not made - the user is always forwarded normally.

simon
A: 

ActionError is used by Strut's built-in exception handler. When an exception is raised an ActionError object is created and stored in the request or session scope so it can be accessed by the page being forwarded to.

ActionMessage is usually used to return a set of messages from an action to a JSP

baijiu