Re: ActionErrors = Null
2002. december 13. 11:12 dátummal Jordan Thomas ezt írtad: Hi, If I call ActionErrors errors = languageForm.validate( mapping, request ); Because if you receive the execute method of your Action, you will be ensured that there was no validating error in the Form. If there were any error, the struts framework would have forwarded back to the input page before even the Action would have been reached. Hth, Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ActionErrors = Null
OK, thanks for that. cheers Jordan -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Friday, 13 December 2002 11:31 AM To: Struts Users Mailing List Subject: Re: ActionErrors = Null 2002. december 13. 11:12 dátummal Jordan Thomas ezt írtad: Hi, If I call ActionErrors errors = languageForm.validate( mapping, request ); Because if you receive the execute method of your Action, you will be ensured that there was no validating error in the Form. If there were any error, the struts framework would have forwarded back to the input page before even the Action would have been reached. Hth, Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ActionErrors = Null
null is a valid return from the validate method. It indicates there were no errors. An empty ActionErrors object also indicates that. See the javadoc for details. David From: Jordan Thomas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: ActionErrors = Null Date: Fri, 13 Dec 2002 11:12:08 +0100 Hi, If I call ActionErrors errors = languageForm.validate( mapping, request ); How can be errors null? thanks Jordan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]