标签:BMI user mode type highlight use pass attribute pos
<form:form modelAttribute="user" action="save" method="post" >//以form:开头,后面接表单类型.modelAttribute类型对接模型
用户名:<form:input path="username"></form:input><br>//path等同于type属性
密码 :<form:password path="password"></form:password><br>
<button type="submit">提交</button> </form:form>
标签:BMI user mode type highlight use pass attribute pos
原文地址:https://www.cnblogs.com/max-hou/p/11231428.html