Had the same problem today. Just forgot to include the taglib declaration in
the JSP file ...

<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>

Juergen

-----Ursprüngliche Nachricht-----
Von: Hee Meng, Poh [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 17. Januar 2001 17:38
An: [EMAIL PROTECTED]
Betreff: Re: Auto Form Validation Not Done?


Hi,

U r right. Just found this too. But still having problem of <html:errors/>
not producing my error messages. Digging
further...

Regards
----- Original Message -----
From: "Johan Compagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 7:08 PM
Subject: RE: Auto Form Validation Not Done?


> In the struts config file you specify if the validate must be called or
not:
>
>     <action    path="/action"
>                type="package.FormClass"
>                name="formName"
>               scope="session"
>            validate="true">
> ^^^^^^^^^^^^^^^^
>
> Maybe you have specified false?
>
> johan
>
>
> > -----Original Message-----
> > From: Hee Meng, Poh [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 17, 2001 10:51 AM
> > To: [EMAIL PROTECTED]
> > Subject: Auto Form Validation Not Done?
> >
> >
> > Hi,
> >
> > Anyone can verify if auto form validation is working in struts@16012001?
> > Implemented the method
> >
> > public ActionErrors validate(ActionMapping mapping,
> >                                       HttpServletRequest request)
> >
> >
> > in my action form class but can't see it being executed...
> >
> > Regards
> >
> >

Reply via email to