本文共 622 字,大约阅读时间需要 2 分钟。
input标签相当于text
<form:input path="username"/></td>
password标签
<form:password path="password"/>
hidden标签
<form:hidden path="id"/>
textarea标签是一个支持多行输入的html元素
<form:textarea path="remark" rows="5" cols="20"/>
checkbox标签
<form:checkbox path="courses" value="javaee" label="javaee"/>
<form:checkbox path="courses" value="mybatis" label="mybatis"/>
checkboxes
<form:checkboxes items="${courseList}" path="course"/>
radiobutton标签
<form:radiobutton path="sex" value="男"/>男
radiobuttons标签
<form:radiobuttons path="sex" items="${sexList}"/>
select标签
<form:select path="deptId">
<form:option value="1">财务部</form:option>
</form:select>
转载地址:http://avjqi.baihongyu.com/