进入updateUser.jsp/method=add 这个页面后 如何取得后面的add?????我想将这个add放到一个input里
解决方案 »
- Listener refused the connection with the following error: ORA-12505, TNS:listene
- struts2整合JFreeChart报空指针异常
- java中同时,并发的访问一个方法,程序是如何处理的?
- 推荐一个面向初学者的开源项目-simplejee
- Spring2.0 AOP 问题!求解答。。
- Hibernate 如何映射
- JAVA有没有System.Web.UI.WebControls类似的类
- Hibernate 学习中的问题
- 新手学习springMVC+tiles遇见了问题。求各位大虾帮忙解决!!
- 请高手指教如何在一个Tomcat 运行两个Context?谢谢
- 有个疑问,想请大家解开下!
- ResultSet.nest()问题
<%=reqeust.getParameter("method")%>
账号:<html:text property="account" value="<%=reqeust.getParameter("account")%>" ></html:text><br>
用户名:<html:text property="username"></html:text><html:errors property="username"/><br>
<html:submit>确定</html:submit>
</html:form>org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 29 in the jsp file: /updateUser.jsp
<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)
request参数应该单引号