jsp代码:
<form:inputText name="userName" value="${user.name}" />
thymeleaf代码:
<input type="text" name="userName" value="James Carrot" th:value="${user.name}" />
jsp代码:
<form:inputText name="userName" value="${user.name}" />
thymeleaf代码:
<input type="text" name="userName" value="James Carrot" th:value="${user.name}" />