I think a new tag that allows you to not put HTML in your resource file
already exists in post 1.0 Struts in the form of the <html:messsage(s)> tag.
It can be used in place of <html:errors>. The errors class is now a subclass
of a message class.
-----Original Message-----
From: Martin D Bayly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 10:00 AM
To: [EMAIL PROTECTED]
Subject: Enhanced errors tag
A useful enhancement to the <html:errors/> tag would be to have a single
message
header/footer as well as an error block header and footer.
This enables you to keep your message strings free of html markup such as
the
<li> shown in the examples.
eg.
errors.header=<h3><font color="red">Validation Error</font></h3>You must
correct
the following error(s) before proceeding:<ul>
errors.footer=</ul><hr>
with the extension of:
error.header=<li>
error.footer=</li>
The attached is a version of our ErrorsTag (copied from the struts
errorstag)
incorporating this change
(See attached file: ErrorsTag.java)
Martin