Hi,
Still can't see error at this point.
Okay, am I right to say that u only need to call saveErrors() if u decide to
do your own validation; the auto-validation only requires an implementation
of the validate() method which returns an ActionErrors instance?
Also, shld we now use struts.tld or struts-html.tld when it comes to error
reporting, as
in <struts:errors/> or <html:errors/> coz I thought I saw <struts:errors/>
in logon.jsp and
<html:errors/> registration.jsp respectively, both from the struts-example.
Regards
----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts List" <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 3:01 AM
Subject: Re: Error Messages don't print
The other easy thing to forget is calling "saveErrors(request,
errors);" after you've queued them all.
*********** REPLY SEPARATOR ***********
On 1/17/2001 at 7:52 PM Juergen Ebert wrote:
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
> >
> >