I read in one book that ActionError is being deprecated in favor of ActionMessage. Another book mentions nothing of this. Is it so? Should I convert my ActionErrors to ActionMessages?
Can you put an Action Error in ActionMessages? If so, how do you pull only errors or messages out?
It is true that ActionError is being deprecated in favour of ActionMessage, unfortunately the validate method of ActionForm still returns the ActionError object, so to work around it what you can do is instead of putting the ActionErrors objects into ActionErrors, put the ActionMessage objects.
and to access this errors in the jsp page use this code
"Failure is not when you fall down; its only when you fail to get up again."
Joined: Dec 11, 2003
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com