Struts bean tags
This documentation describes the HTML elements that are available in the Struts Bean Tags drawer.
When you are editing a Struts JSP page in Page Designer, you open the Struts Bean 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 a bean prefix. For example, cookie is bean:cookie.
Element Description cookie Defines a scripting variable based on the values of the specified request cookie. define Defines a scripting variable based on the values of the specified bean property. header Defines a scripting variable based on the values of the specified request header. include Loads the response from a dynamic application request and makes it available as a bean. message Renders an internationalized message string to the response. page Exposes a specified item from the page context as a bean. parameter Defines a scripting variable based on the values of the specified request parameter. resource Loads a Web application resource and makes it available as a bean. size Defines a bean that contains the number of elements in a Collection or Map class. struts Exposes a named Struts internal configuration object as a bean. write Inserts the value of the specified bean property into the current JSP page being rendered.
Related tasks
Adding Struts tags to a JSP file
Related reference
Feedback
Struts HTML tags
Struts logic tags
Struts nested tags
Struts tiles tags
Struts drawers on the Web tools palette