Rick, I believe that he is referring the the JPetStore download from the 
iBatis site. I am also using the additional struts helper package that comes 
in that demo. So no, it really doesn't have anything to do with iBatis 
except that it probably came from that web site.
 Pham, if you continue to follow the JPetSoreExample then can do server side 
validation the way that it does by extending the validate() method of 
BaseBean. Then you can set validate="true" in your struts-config.
 Mark

 On Apr 12, 2005 12:54 AM, Rick Reumann <[EMAIL PROTECTED]> wrote: 
> 
> Pham Anh Tuan wrote the following on 4/11/2005 4:02 AM:
> > Hi all,
> >
> > I don't know how to do Validation in Struts + iBatis + Dao.
> >
> > Because when I use above Structure, I must extends from BaseBean to
> > create my own Bean. As you know, if we want to use Validator of
> > Struts, our ActionForm must extends from ValidatorForm.
> 
> Why do you have to extend BaseBean for your ActionForms and not
> ValidatorActionForm? I'm confused. iBATIS should care less about what
> the front end is doing so iBATIS doesn't care about your ActionForm.
> You'll have to explain more what this BaseBean is - I'm assuming it's of
> type ActionForm? I've never needed to extend an ActionForm that I can
> recall. Actions, yes, but not ActionForms (including all the other
> flavors ValidatorActionForm, ValidatorForm, etc).
> 
> --
> Rick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to