这是struts-config.xml:<?xml version="1.0" encoding="gb2312"?><!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://struts.apache.org/dtds/struts-config_1_2.dtd">
          
<struts-config>
<form-beans>
<form-bean name="RegistForm" type="UserRegistForm" />
</form-beans>

<golbal-exceptions>
<exception key="reg.error.unknown" type="java.lang.Exception" path="/error.html"/>
</golbal-exceptions>

<golbal-forwards>
<forward name="index" path="/index.html"/>
</golbal-forwards>

<action-mappings>
<action path="/Regist" type="RegistAction" name="RegistForm" scope="request" validate="false" input="/Regist.jsp" />
<forward name="SUCCESS" path="/Success.html"/>
<forward name="FAIL" path="/Fail.html" />
</action-mappings>

<message-resources parameter="Registraion" />

</struts-config>

解决方案 »

  1.   

    \WEB-INF\lib\struts.jar
    \WEB-INF\classes\RegistAction.class
    \WEB-INF\classes\UserRegistForm.class
    文件都没有错,
    但是点 提交 按钮的时候,
    就报以下错误:
      

  2.   

    HTTP Status 404 - Servlet actionServlet is not available--------------------------------------------------------------------------------type Status reportmessage Servlet actionServlet is not availabledescription The requested resource (Servlet actionServlet is not available) is not available.
    --------------------------------------------------------------------------------Apache Tomcat/6.0.10