org.apache.jasper.JasperException: Exception in JSP: /register.jsp:1310: <TITLE>register</TITLE>
11: </HEAD>
12: <BODY>
13: <P><html:form action="/register.do">
14: 用户名:<html:text property="username"></html:text><BR>
15: 密码1: <html:text property="password1"></html:text><BR>
16: 密码2: <html:text property="password2"></html:text><BR>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

解决方案 »

  1.   

    root cause javax.servlet.ServletException: Exception creating bean of class RegisterForm: {1}
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
    org.apache.jsp.register_jsp._jspService(register_jsp.java:84)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause javax.servlet.jsp.JspException: Exception creating bean of class RegisterForm: {1}
    org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:465)
    org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:432)
    org.apache.jsp.register_jsp._jspx_meth_html_form_0(register_jsp.java:100)
    org.apache.jsp.register_jsp._jspService(register_jsp.java:74)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)