jsp tag key usage in spring boot in

<form: form modelAttribute = "user " action = "save" method = "post"> // to form: at the beginning, followed by the form type .modelAttribute type docking model 

Username: <form: input path = " username"> < / form: input> <br> // path is equivalent to the type attribute

password: <form: password path = " password"> </ form: password> <br>
<button type="submit">提交</button> </form:form>

 

Guess you like

Origin www.cnblogs.com/max-hou/p/11231428.html