< html:form>
< xml:namespace prefix = HTML/>< html:form> used to create forms,< html:form> must contain an action attribute, otherwise the JSP throws an exception.
Common Properties:
ACTION Specifies which component the user submits the form to handle
Enctype specified MIME encoding for a form
method to specify how the form is submitted, such as: POST Get methods
Style to specify CSS styles
STYLECLASS Specifies the name of the CSS style sheet attached to the label
Target specifies the destination window and frame to which the form is submitted
Common methods:
OnReset the JavaScript method that triggers the trigger when a form is reset
ONSUBMIT Specifies the JavaScript way that fires when the form is submitted
Used to create a text box field on a form whose properties specify the name of the text box to match a property in the Actionform bean.
Common Properties:
property to specify the name of the text box to match an attribute in the Actionform bean
Disabled Sets or gets the state of the control, true indicates a prohibition.
Maxlength Sets or gets the maximum number of characters a user can enter in a text box
Readonly Sets or gets whether the contents of the text box are read-only
Size setting or getting the text box sizes
style Specifies styles for CSS
STYLECLASS Specifies the name of the CSS style sheet attached to the label
Title Tool Tip Message Text
Titlekey the contents of the specified message key from the message resource as the ToolTip text
Value sets or gets the display value of the text box, which is returned to the server when the text box is committed
Common methods:
Onblur Specifies the JavaScript method that fires when an object loses input focus
Onchange specifies that the contents of an object or selection are triggered when content changes
Onclick Specifies the JavaScript method that fires when the user clicks the object with the left mouse button
Ondbclick Specifies the JavaScript method that fires when a user double-clicks an object with the left mouse button
Onfocus Specifies the JavaScript method to start when the object gets focus
Onkeydown Specifies the JavaScript method that triggers when the user presses the keyboard
Onkeypress Specifies the JavaScript method that triggers when a user presses a non-functional key
ONKEYUP Specifies the JavaScript method that fires when the user releases the keyboard
Onmousedown Specifies the JavaScript method that fires when a user clicks an object in any mouse button
Onmousemove Specifies the JavaScript method that triggers when the user slides the mouse over the object
ONMOUSEOUT Specifies the JavaScript method that fires when the user moves the mouse pointer out of an object
Onmouseover Specifies the JavaScript method that fires when a user moves the mouse pointer inside an object
Onmouseup Specifies the JavaScript method that fires when the mouse button is released when the mouse is over the object
A button that is used to produce HTML.