当前位置: 代码迷 >> J2EE >> ssh调整dwr后为什么访问不到dwr的调试页面
  详细解决方案

ssh调整dwr后为什么访问不到dwr的调试页面

热度:64   发布时间:2016-04-22 01:12:52.0
ssh整合dwr后为什么访问不到dwr的调试页面
HTTP Status 404 - There is no Action mapped for namespace [/] and action name [dwr] associated with context path

------解决方案--------------------
楼主 你的做法 不可行,因为 web.xml 的核心控制器配置成 *.action 之后就只能拦截action了,殊不知 /*还有其他用处,比如 拦截验证框架,等等,一时记不起来了。

建议楼主修改如下: 我自己测试的正则表达式 :
<constant name="struts.action.excludePattern" value="/dwr.*"></constant>

不行,你砍我~~
  相关解决方案