在tomcat6下运行struts1.2总是出现404的错误,试了好几个1.2的程序都是到了提交do时,就not available了,

解决方案 »

  1.   

    HTTP Status 404 - /library/WebRoot/manager.do--------------------------------------------------------------------------------type Status reportmessage /library/WebRoot/manager.dodescription The requested resource (/library/WebRoot/manager.do) is not available.
    --------------------------------------------------------------------------------Apache Tomcat/6.0.29
      

  2.   

    HTTP Status 404 - /goIndex.do--------------------------------------------------------------------------------type Status reportmessage /goIndex.dodescription The requested resource (/goIndex.do) is not available.
    --------------------------------------------------------------------------------Apache Tomcat/6.0.29这个也是,估计不是代码的问题,不知道哪里配置错了
      

  3.   

    你看看你的action路径对不对 还有action配置代理org.springframework.web.struts.DelegatingActionProxy没有。
    还有就是struts的配置文件里的配置了ContextLoaderPlugIn插件了?<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
    <set-property property="contextConfigLocation" value="/applicationContext.xml" />
    </plug-in>这个加了么?