RE: Question about adding ActionErrors

2002-12-09 Thread shirishchandra . sakhare
I think the errors are saved in session not in form. -Original Message- From: MohanR [mailto:[EMAIL PROTECTED]] 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

RE: Question about adding ActionErrors

2002-12-09 Thread Andrew Hill
I thought it was normally request scope? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 17:44 To: [EMAIL PROTECTED] Subject: RE: Question about adding ActionErrors I think the errors are saved in session not in form. -Original

RE: Question about adding ActionErrors

2002-12-08 Thread Mohan Radhakrishnan
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,

Re: Question about adding ActionErrors

2002-12-07 Thread David Graham
Neither your forms or actions should ever make a db connection. That should happen in the DAO layer. Let the validator check that the username and password are filled in and the minimum number of characters then let it call your login action. Your login action with call a business method