> -----Original Message----- > From: Saurabh Bhatla [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 2:29 PM > To: struts > Subject: 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
could you show us the relevant portions of your struts-config.xml, index.jsp and the validate method? Given what you said it's probably a typo, or something very subtle. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]