Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

what is for <html:errors> tag in the HTML tag library? Define its attributes?
The <html:errors /> tag is used to display the ActionError objects stored in an ActionErrors collection. The <html:errors /> tag has a body type of JSP and support four attributes:
  * bundle : Specifies a MessageResources key of the resource bundle defined in the struts-config <message-resource> element.
  * locale : Specifies the session attribute containing the locale instance of the current. This locale is then used to select Locale-specific text messages.
  * name : Specifies the name of the request scope object that references the ActionErrors collection being displayed.
  * property : Specifies which error message should be displayed, based on each property contained in the ActionErrors collection.