Yes, you need to set the a couple of elements in your properties file.  They
are errors.header and errors.footer.  You are seeing null because the tag
will default to null if these are not set.

errors.header = <whatever you want>
errors.footer = <same>



If you want anything else,
----- Original Message -----
From: "Juan Alvarado" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Thursday, March 28, 2002 2:53 PM
Subject: errors tag


> Does anyone know why in Struts 1.02 when using the <html:errors/> tag, any
> error that gets added to the ActionErrors object is displayed in the
> following format:
>
> null
> "message string" null
>
> An example would be as follows
>
> The html output of my errors tag in Struts 1.02 would yield the following
> when a user leaves a text field blank:
>
> <ul>
> null
> <li>Su b�squeda no devolvio resultados null
> <p>
> </ul>
>
> With Struts 1.0:
>
> <ul>
> <li>Su b�squeda no devolvio resultados
> <p>
> </ul>
>
> I apologize about the spanish bit, it's a straight copy and paste from our
> app.
>
> Thanks in advance
>
> **********************************************
> Juan Alvarado
> Internet Developer -- Manduca Management
> (786)552-0504
> [EMAIL PROTECTED]
> AOL Instant Messenger: [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

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

Reply via email to