Hi Alan,
Thanks for the solution. My problem too got solved
when I override the validate function in the action
form. But I have a question:
1. Why should one change the actual code for the sole
reason of being able to test it? The application works
fine even if "validate" method is not there.
Thanks,
balki
--- Alan Halley <[EMAIL PROTECTED]> wrote:
>
> Hi,
> In my case the problem was caused by the default
> validation routine in ActionForm. If this method is
> not overidden in your code then the default method
> returns a null and this seems to be th root of the
> null pointer problem.
> I overrode this method as follows:-
> public ActionErrors validate(ActionMapping
> mapping,HttpServletRequest request)
> {
> return new ActionErrors();
> }
> This appeared to cure the problem.
> Alan
>
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>