RE: ActionForm DB validation

2003-06-26 Thread FrenzyGNX
I think that kind of validation is better to be done in the business logic layer. --- Fedor Smirnoff <[EMAIL PROTECTED]> wrote: > Hey, > > I wanted to find out if its acceptable to access > database in the validation stage of SOMEActionForm. > Basically when a user enters email address to > subs

RE: ActionForm DB validation

2003-06-25 Thread Fedor Smirnoff
Hey, I wanted to find out if its acceptable to access database in the validation stage of SOMEActionForm. Basically when a user enters email address to subscribe, I need to check if it already exists in the database, should I do it in SOMEAction or SOMEActionForm? Thank you Fedor ___