SSH整合DWR
使用这种方式
http://localhost:8080/Book/dwr/index.html
可以打开页面
报:
HTTP Status 404 - There is no Action mapped for namespace / and action name bookInfo.
-------------------------------------------------------------------------------------------------------------
如果使用如下的方式访问
http://localhost:8080/Book/dwr
使用这个方式访问会出现以下的错误
HTTP Status 404 - There is no Action mapped for namespace / and action name dwr.
解决办法:
<constant name="struts.action.excludePattern" value="/dwr.*"></constant>
将这句话加入到你的struts.xml中表示常量
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。