Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我写:
<form:input path="fieldName">
它转换为
<input type="text" id="fieldName" path="fieldName">
如何防止 Spring 添加id属性?
id
留空id将导致 spring 不显示 id 属性。
例如:
<form:input path="fiedlName" id="" />