RE: where to place form validation logic

2003-02-23 Thread Kola Oyedeji
Thats what i thought however reading the Wrox beginning JSP books, it states
on page 578 that it is recommended to do the validation in the action
class

I just wondered if the community agreed with this statement

Kola


 -Original Message-
 From: Ian Hunter [mailto:[EMAIL PROTECTED]
 Sent: 20 February 2003 22:20
 To: Struts Users Mailing List
 Subject: Re: where to place form validation logic
 
 
 Override the ActionForm.validate() method
 
 - Original Message -
 From: Kola Oyedeji [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Thursday, February 20, 2003 4:56 PM
 Subject: where to place form validation logic
 
 
 
  Hi
 
  Just a quick question, where is the best place to put form validation
 logic
  is assumed this was the role of the actionForm object but i
 read somewhere
  that validation should be in the action object, is this true?
 
 
  Thanks
 
  Kola
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



where to place form validation logic

2003-02-20 Thread Kola Oyedeji

Hi

Just a quick question, where is the best place to put form validation logic
is assumed this was the role of the actionForm object but i read somewhere
that validation should be in the action object, is this true?


Thanks

Kola


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: where to place form validation logic

2003-02-20 Thread Ian Hunter
Override the ActionForm.validate() method

- Original Message -
From: Kola Oyedeji [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:56 PM
Subject: where to place form validation logic



 Hi

 Just a quick question, where is the best place to put form validation
logic
 is assumed this was the role of the actionForm object but i read somewhere
 that validation should be in the action object, is this true?


 Thanks

 Kola


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]