O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The html:errors Tag

The html:errors tag can be used in two different ways. If used without a property attribute, it will display all the errors for the form. When used with the attribute, it displays only the errors for that specific property. There are two special values you can put into your ApplicationResources.properties file to control how these errors are displayed:

errors.header=<FONT COLOR="#ff0000">

errors.footer=</BR></FONT>

The value of errors.header is placed just before the error; the footer is placed just after the error. The ones shown here put the error in red.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required