Diego, I think you're missing a "/" before login.jsp where you specify the input page. When the ActionServlet finds ActionErrors to contain error objects, it will forward directly back to the input page you specify. I don't think input is correct, so that's why you're getting a blank page.
Jacques -----Original Message----- From: Diego Bursztyn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 5:18 PM To: Struts Mailing Subject: ActionErrors I'm having a problem with an action error. I have the following config: <action path="/action/logon" type="com.blah.actions.LogonAction" name="logonForm" scope="request" validate="true" input="login.jsp"> <forward name="success" path="/main_menu.jsp"/> <forward name="failure" path="/login.jsp"/> </action> action form public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if ((username == null) || (username.length() < 1)) errors.add("username", new ActionError("error.username.required")); if ((password == null) || (password.length() < 1)) errors.add("password", new ActionError("error.password.required")); return errors; } if the username or the password is omitted when submitting the form, login.jsp should display on the browser with the error message, instead I get a blank browser with http://...../action/logon.do on the url. What am I missing? Thanks, Diego. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

