There is no differnece between these two classes.All the behavior of ActionErrors was copied into ActionMessages and vice versa. This was done in the attempt to clearly signal that these classes can be used to pass any kind of messages from the controller to the view -- where as errors being only one kind of message.:There is no differnece between these two classes.All the behavior of ActionErrors was copied into ActionMessages and vice versa. This was done in the attempt to clearly signal that these classes can be used to pass any kind of messages from the controller to the view -- where as errors being only one kind of message.:Both are same,org.apache.struts.action.ActionError class is removed from struts-1.3.x API.so use org.apache.struts.action.ActionMessage class as alternative
Category:Struts Interview Questions
No comments:
Post a Comment