You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Saurabh Bhatla <sa...@resolution.com> on 2004/08/30 23:29:05 UTC

validate in ActionForm not working for errors

hi all,
    I have a simple form that takes username and passwd. for that i have
a LogonForm bean, which has a validate method. if i enter both username
and passwd it works fine and gets forwarded to the next page. but if
there is an error in validate() and ActionErrors object is returned then
my control goes to a blank page. I know that my ActionErrors object has
been populated as i have checked it with debug statements. 'input'
property in my action mapping is to index.jsp, that is the page itself.
why is it showing me a blank page. why is the framework not showing any
exception if there is one. 

any suggestions

regards
saurabh




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org