I am wondering is it good practice to write all forms in spring tags or can I mix spring form tags with html form tags?
相关问题
- Views base64 encoded blob in HTML with PHP
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
Springs
form:form
tag is supposed to be used with whenever you have aformbacking
object you wish to bind to the form (amodel
object delivered to your view).There are no additional benefits of using the tag in a regular form with no backing object.
Use Spring forms when you need functionality provided by them:
For simple forms (such as a simple search box on each page) you usually don't need these features - therefore you can use simple HTML forms for them.