From user-return-133189-apmail-struts-user-archive=struts.apache.org@struts.apache.org Fri Mar 11 16:22:47 2005 Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 83875 invoked from network); 11 Mar 2005 16:22:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Mar 2005 16:22:47 -0000 Received: (qmail 53527 invoked by uid 500); 11 Mar 2005 16:22:33 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 53311 invoked by uid 500); 11 Mar 2005 16:22:32 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 53286 invoked by uid 99); 11 Mar 2005 16:22:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.dsg.vertisinc.com (HELO mail.dsg.vertisinc.com) (63.103.126.135) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Mar 2005 08:22:31 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Help With Action Date: Fri, 11 Mar 2005 10:22:29 -0600 Message-ID: <34385CBC5E8E664EB0007814636AB36A0316D3D1@exchange1.dimensions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help With Action Thread-Index: AcUmVanlnG3jZ+g1SvO1VULaj/LbsAAAMPiQ From: "Scott Purcell" To: "Struts Users Mailing List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I guess I could do that, but the docs state that if the validation = fails, request will go to the "input" tag. and I do not see how to do a = redirect on that. Anyone? Scott -----Original Message----- From: Schuster Joel M Contr ESC/NDC [mailto:Joel.Schuster@cisf.af.mil] Sent: Friday, March 11, 2005 10:16 AM To: 'Struts Users Mailing List' Subject: RE: Help With Action ?? maybe ?? -----Original Message----- From: Scott Purcell [mailto:spurcell@vertisinc.com]=20 Sent: Friday, March 11, 2005 9:13 AM To: user@struts.apache.org Subject: Help With Action Hello, =20 I have the following action setup in my struts-config.xml file: =20 =20 I am failing the ActionForm so my request should go to the "input" tag. = And according to the Logger it does. 2005-03-11 10:12:12,349 INFO com.ddi.dealer.bean.LoginForm - XXX setting username=3D 2005-03-11 10:12:12,349 DEBUG org.apache.struts.action.RequestProcessor = - Validating input form properties 2005-03-11 10:12:12,349 INFO com.ddi.dealer.bean.LoginForm - Validate = called on LoginForm 2005-03-11 10:12:12,350 DEBUG org.apache.struts.action.RequestProcessor = - Validation failed, returning to '/dealer/jsp/login.jsp' =20 But for whatever reason, the page only displays white with no error? I = feel that it needs to do a redirect or something, but not sure how that = should work. Does anyone have any ideas what I am doing wrong? =20 Thanks, Scott K Purcell | Developer | VERTIS |=20 555 Washington Ave. 4th Floor | St. Louis, MO 63101 |=20 314.588.0720 Ext:1320 | spurcell@vertisinc.com | = http://www.vertisinc.com =20 Vertis is the premier provider of targeted advertising, media, and=20 marketing services that drive consumers to marketers more effectively.=20 =20 =20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org