Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 37541 invoked from network); 9 Dec 2002 09:51:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Dec 2002 09:51:25 -0000 Received: (qmail 23861 invoked by uid 97); 9 Dec 2002 09:52:27 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 23844 invoked by uid 97); 9 Dec 2002 09:52:26 -0000 Mailing-List: contact struts-user-help@jakarta.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 struts-user@jakarta.apache.org Received: (qmail 23808 invoked by uid 98); 9 Dec 2002 09:52:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Reply-To: From: "Andrew Hill" To: "Struts Users Mailing List" Subject: RE: Question about adding ActionErrors Date: Mon, 9 Dec 2002 17:53:32 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I thought it was normally request scope? -----Original Message----- From: shirishchandra.sakhare@ubs.com [mailto:shirishchandra.sakhare@ubs.com] Sent: Monday, December 09, 2002 17:44 To: struts-user@jakarta.apache.org Subject: RE: Question about adding ActionErrors I think the errors are saved in session not in form. -----Original Message----- From: MohanR [mailto:MohanR@hclcomnet.co.in] Sent: Monday, December 09, 2002 7:27 AM To: struts-user Cc: MohanR Subject: RE: Question about adding ActionErrors Hi, We are validating against the database in the LoginAction through a business delegate. I think the validation in the form would be limited to checking for null or spaces... A related question. In my action, I use saveErrors. How are the 'errors' saved inside the form ? Thanks, Mohan -----Original Message----- From: jzimmek@morelogs.de [mailto:jzimmek@morelogs.de] Sent: Sunday, December 08, 2002 1:24 AM To: Struts Users Mailing List Subject: Question about adding ActionErrors Hi, i have a LoginForm ( ValidatorForm ), which will validate if username and password is entered. Ok, but after this i have to probe if the entered username/password combination really exists in the database. My question is where to perform the database-check ... in the LoginForm by overriding the validate method or in the requested Action ( /Login.do ) ? It seems to me a litte bit confusing that a ValidatorForm should make a database-connect instead of the Action. Any help would be appreciated. Jan Zimmek -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: