Struts HTML tags
This documentation describes the HTML elements that are available in the Struts HTML Tags drawer.
When you are editing a Struts JSP page in Page Designer, you can open the Struts HTML Tags drawer on the palette and add to the page any of the elements that are listed in the table below.
The elements are listed in alphabetical order. Some elements may be hidden on the palette. To show a hidden element in the palette, right-click the Struts HTML Tags drawer and choose Customize. Remove the check next to Hide for each component that you want to display on the palette.
Each element has a number of properties you can set by using the element's Properties view. For an alphabetical listing and description of all the properties, refer to Properties for Struts bean elements. To look up properties for which you want additional detail, use the Attribute listings while working with the component's Properties view.
For each element in the table, the tag has an html prefix. For example, base is html:base.
Element Description base Renders an HTML base element. button Renders a button input field. cancel Renders a Cancel button. checkbox Renders a check-box input field. errors Conditionally displays a set of accumulated error messages. file Renders a file-select input field. form Defines an input form. frame Renders an HTML frame element. hidden Renders a hidden field. html Render an HTML html element. image Renders an input tag of type image. img Renders an HTML img tag. javascript Renders JavaScript validation based on the validation rules loaded by the ValidatorPlugIn. link Renders an HTML anchor or hyperlink. messages Conditionally displays a set of accumulated messages. multibox Renders a check-box input field. option Render a select option. options Renders a collection of select options. optionsCollection Renders a collection of select options. password Renders a password input field. radio Render a radio button input field. reset Render a reset button input field. rewrite Renders a universal resource identifier (URI). select Renders a select element. submit Renders a Submit button. text Renders a text input field. textarea Renders a text area. xhtml Renders HTML tags as XHTML.
Related tasks
Adding Struts tags to a JSP file
Related reference
Feedback
Struts bean tags
Struts logic tags
Struts nested tags
Struts tiles tags
Struts drawers on the Web tools palette