<html:errors property="updateFail"/> <html:form action="update.do"> 账号:<html:text property="account" value="<%=new Long(request.getParameter("account")) %>"></html:text><br> 用户名:<html:text property="username"></html:text><html:errors property="username"/><br> <html:submit>确定</html:submit> </html:form> 为什么报错 An error occurred at line: 29 in the jsp file: /updateUser.jsp The method setValue(String) in the type BaseInputTag is not applicable for the arguments (Long)
<html:form action="update.do">
账号:<html:text property="account" value="<%=new Long(request.getParameter("account")) %>"></html:text><br>
用户名:<html:text property="username"></html:text><html:errors property="username"/><br>
<html:submit>确定</html:submit>
</html:form>
为什么报错
An error occurred at line: 29 in the jsp file: /updateUser.jsp
The method setValue(String) in the type BaseInputTag is not applicable for the arguments (Long)