loading
form
actionfalsejava.lang.StringIndicates the action of submission
targetfalsejava.lang.StringIndicates the target of submission. Default : _self. Options : _blank,_self,_parent,_top,iframe
methodfalsejava.lang.StringIt indicates the method to be used. Default: post. Options: post, get
namefalsejava.lang.StringIndicates the name of form
validationfalsejava.lang.StringIt indicates a validation to be performed on the data form
labelfalsejava.lang.StringIndicates the label of the form
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered
multipartfalsejava.lang.BooleanIt indicates whether the form should have file support
 
<html:view>

<html:form action="#">
<html:formGroup label="Field 1" required="true">
<html:input required="true" name="field1"/>
</html:formGroup>
<html:formGroup label="Field 2">
<html:input name="field2"/>
</html:formGroup>
<html:toolbar>
<html:buttonGroup>
<html:button type="submit" label="Save"/>
</html:buttonGroup>
</html:toolbar>
</html:form> </html:view>