Tomcat 启动时 There is no Action mapped for namespace [/] and action name [] associated with context pa
来源:互联网 发布:软件工程技术应用 编辑:程序博客网 时间:2024/06/05 10:37
Tomcat 启动时 There is no Action mapped for namespace [/] and action name [] associated with context path []. - [unknown location]
问题:
struts.xml中:
<struts>
<package name="default" extends="struts-default" namespace="/">
<action name="loginPage" class="com.lc.test.action.LoginAction" method="loginPage">
<result name="success">/loginPage.jsp</result>
</action>
</package>
</struts>
loginPage.jsp文件在WEB-INF目录下,系统找不到这个文件,会出现这个问题。
解决:把这个文件放到WEB-INF同一个目录下。
0 0
- Tomcat 启动时 There is no Action mapped for namespace [/] and action name [] associated with context pa
- There is no Action mapped for namespace [/] and action name [hello] associated with context path [/
- There is no Action mapped for namespace [] and action name [] associated with context path []
- There is no Action mapped for namespace [/] and action name [upload/] associated with context path
- There is no Action mapped for namespace [/] and action name [Login] associated with context path [/e
- There is no Action mapped for namespace [/] and action name [] associated with context path [/struts
- There is no Action mapped for namespace [/] and action name [viewLogAction] associated with context
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/M
- There is no Action mapped for namespace [/] and action name [] associated with context path [/dxm__s
- There is no Action mapped for namespace [/] and action name [hello2] associated with context path [/
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- There is no Action mapped for namespace [/] and action name [user!add] associated with context path
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- There is no Action mapped for namespace [/] and action name [Person] associated with context path
- There is no Action mapped for namespace[/] and action name [] associated with context path.
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/p
- 黑马程序员——面向对象的三大特点
- xcode7 如何真机测试
- Android性能专项测试之Memory Monitor工具
- dubbo_网络传输transport
- drools规则引擎因为内存泄露导致的内存溢出
- Tomcat 启动时 There is no Action mapped for namespace [/] and action name [] associated with context pa
- 模板方法模式(Template method)
- angularjs API
- border-style有哪些值?这些值的作用
- android studio 快捷键切换为eclipse的快捷键
- 全局函数、成员函数和内联函数的总结
- mongoDB——前序(NoSQL)
- [php] thinkphp使用csv导出excel表格
- poj 1426