Class Cast Exception,
November 28, 2007 at 5:29 PM
Hello,
The Class Cast exceptions that several posters have mentioned is due to using both ActionMessage and ActionErrors classes in the example.
Particularly, in the validate() method, errors.add("", new ActionMessage("")); This tries to add an ActionMessage into errors which is type ActionError.
Preferably, change errors to type ActionMessage class as the other one is now eprecated.
View All Comments
| View Tutorial