我在struts-config.xml中配置
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml"/>
</plug-in>
后,我的action就没有响应了,
报HTTP Status 404 - Servlet action is not available 错误
去掉后就正常了。请高手指教,这是什么原因

解决方案 »

  1.   

    <action type="你这里写的是什么呀,不是真正的action的路径,而是一个代理,你是不是没有改呀 "/>
      

  2.   

    我改过了,我查了一下,在actionServlet初始化的时候
    执行 initModulePlugIns(moduleConfig);就出错了
      

  3.   

    struts和spring的整合,org.springframework.web.struts.ContextLoaderPlugIn加载错误 
    你解决了吗 
    我也遇到同样的问题 不知道怎么办了
      

  4.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【guosj_haoli】截止到2008-07-16 14:28:29的历史汇总数据(不包括此帖):
    发帖的总数量:0                        发帖的总分数:0                        每贴平均分数:0                        
    回帖的总数量:2                        得分贴总数量:0                        回帖的得分率:0%                       
    结贴的总数量:0                        结贴的总分数:0                        
    无满意结贴数:0                        无满意结贴分:0                        
    未结的帖子数:0                        未结的总分数:0                        
    结贴的百分比:---------------------结分的百分比:---------------------
    无满意结贴率:---------------------无满意结分率:---------------------
    如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
      

  5.   

    <action
          name="testuserForm"
          path="/testuser"
          scope="request"
          type="org.springframework.web.struts.DelegatingActionProxy"/>这样子呀,type不能跟原来的类路径了呀,而是一个Spring的一个代理去实现!
      

  6.   

     我出现了这个错误,我的action type 没有制定任何路径
     也报这个错误啊!
      

  7.   

     我出现了这个错误,我的action type 没有制定任何路径
     也报这个错误啊!
      

  8.   

     我出现了这个错误,我的action type 没有制定任何路径
     也报这个错误啊!
      

  9.   

    myeclipse 没有导入那个包,org.springframework.web
      

  10.   

    spring-webmvc-struts.jar it is in the dist/modules directory of the full release.
      

  11.   

    同样问题,跟了一些发现是自己写错了execute方法public ActionForward execute(ActionMapping mapping, ActionForm form,ServletRequest request, ServletResponse response) throws Exception。注意三四参数应该是HttpServletRequest和HttpServletResponse,上述写法不能否覆盖Action中的execute方法,实际执行逻辑成了return null。