Testfield Tags:
<s:textfield size= "Size" maxlength= "Maximum number" readonly= "Read Only"/>
Password Tags:
With TextField, only a showpassword= "True/false"
Submit tag:
<s:submint value= "" type= "Input/button/image"/>
Reset Tag:
<s:reset type= "Default input"/>
CheckBoxList Tags: create multiple check boxes
<s:checkboxlist list= "collection" listkey= "listvalue=" ".../>
Radio Tags: generate multiple radio buttons
<s:radio list= "collection" .../>
Select Tags: generate a drop-down list box
<s:select list= "Collection" multiple= "is multiple selection" .../>
Optgroup tag: An option group that generates a drop-down list box that must be used in select
<s:optgroup list= "Collection"/>
Updownselect Tags: drop-down list box that can be moved up or down
<s:updownselect list= "Collection" allowmoveup/down/all= "show Move Up, Move Down, select All buttons"
MoveUp (/down/all) label= "Set the text on the button"/>
Doubleselect: Two drop-down list box, the second one will change when you choose the first one
<s:doubleselect list= "First set" Name= "first First name" doublelist= "second set" doublename= "second name"/>
Optiontranferselect Tags: generate left and right two list boxes
<s:optiontranferselect list= "First set" Name= "first set name" doublelist= "second set" Doublename= "second set first name"
Allow...= "Set whether the button add...label=" setting appears on the text "lefttittle=" to the left of the title "Righttittle=" to the right of the title "/>
ComboBox Tags: a text box and a select
<s:combobox list= "Collection" size= "Size" .../>
Here is the page display and the code:
Struts form Labels