root cause javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
org.apache.jsp.Regist_jsp._jspService(Regist_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:741)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
org.apache.jsp.Regist_jsp._jspx_meth_html_005fform_005f0(Regist_jsp.java:143)
org.apache.jsp.Regist_jsp._jspx_meth_html_005fhtml_005f0(Regist_jsp.java:114)
org.apache.jsp.Regist_jsp._jspService(Regist_jsp.java:78)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
--------------------------------------------------------------------------------

解决方案 »

  1.   

    <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="/struts-html" prefix="html" %><html:html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>reg</title>
    </head><body>
    <p> welcome to web rigist number
    <p>
    <html:form action="Regist.do" method="post" >
    user id:
    <html:text property="custName" size="20"/>
    <html:errors property="custName" />
    <p>
    password:
    <html:password property="pwd" size="20"/>
    <html:errors property="password" />
    <p>
    repassword :
    <html:password property="repwd" size="20"/>
    <p>
    city :
    <html:password property="city" size="20"/>
    <p>
    country :
    <html:password property="country" size="20"/>
    <p>
    sex :
    <html:password property="sex" size="20"/>
    <p>
    zip :
    <html:password property="zip" size="20"/>
    <p>
    email :
    <html:password property="email" size="20"/>
    <p>
    <input type="submit" value="submit"/>
    <input type="reset" value="reset"/>
    <p></html:form>
    </body>
    </html:html>