Custom tag that renders error messages if an appropriate request attribute has been created. The tag looks for a request attribute with a reserved key, and assumes that it is either a String, a String array, containing message keys to be looked up in the module's MessageResources, or an object of type
org.apache.struts.action.ActionErrors
.
The following optional message keys will be utilized if corresponding messages exist for them in the application resources:
- errors.header - If present, the corresponding message will be rendered prior to the individual list of error messages.
- errors.footer - If present, the corresponding message will be rendered following the individual list of error messages.
- errors.prefix - If present, the corresponding message will be rendered before each individual error message.
- errors.suffix - If present, the corresponding message will be rendered after each individual error message.
@version $Rev: 376841 $ $Date: 2005-08-21 19:08:45 -0400 (Sun, 21 Aug 2005)$