关于用Myeclipse搭建ssh后出现there is no action mapped for namespace / and action …问题
2013-02-28 15:49
603 查看
昨天第一次整合ssh就出现了这个问题,刚开始不在意,晚上回去在网上搜了一下,发现很多人都遇到了相同的问题,但是解决方案却是出奇的多。我按照各个方案试了下,最终得到了解决,但原因却不知道。
今天又写了一个,但又出现了问题,想想昨天的解决方法,却发现不管用了。分析下这些方法,首先,我用的是myeclipse ,那些配置文件都是自动生成的,不可能出现命名错误,自己也检查了其中的类名什么的,也没有错误。但有人说改下action的名字就可以了,我昨天也就是这么弄好的,可是今天不知道为什么就不行了。
于是我去myeclipse的tomcat服务器的wepapps里去看看,发现编译的代码都被放到了src文件下面,而classes下面是空的,所以大概就知道是怎么回事了,打开project->properties中的build,将output设置为到web-inf下的classes文件,然后重新编译就Ok了。
今天又写了一个,但又出现了问题,想想昨天的解决方法,却发现不管用了。分析下这些方法,首先,我用的是myeclipse ,那些配置文件都是自动生成的,不可能出现命名错误,自己也检查了其中的类名什么的,也没有错误。但有人说改下action的名字就可以了,我昨天也就是这么弄好的,可是今天不知道为什么就不行了。
于是我去myeclipse的tomcat服务器的wepapps里去看看,发现编译的代码都被放到了src文件下面,而classes下面是空的,所以大概就知道是怎么回事了,打开project->properties中的build,将output设置为到web-inf下的classes文件,然后重新编译就Ok了。
相关文章推荐
- SSH + Oracle 整合问题之六 There is no Action mapped for namespace / and action name open.
- 关于这个问题There is no Action mapped for namespace / and action name login.的处理
- Struts2中关于"There is no Action mapped for namespace / and action name"的问题
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- 关于struts2框架中的“There is no Action mapped for namespace /a and action name toform.”这个错误的原因
- struts处理.do后缀请求报Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- 关于There is no Action mapped for namespace [/] and action name
- There is no Action mapped for namespace / and action name ..问题分析
- 使用Struts2动态方法调用时(DMI)出现There is no Action mapped for namespace [/user] and action name [user!add] 问题
- 关于struts2中的There is no Action mapped for namespace / and action name .
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- J2EE Struts2关于"There is no Action mapped for namespace / and action name UserAction"的调试
- 关于eclipse+struts action找不到问题解决方法 There is no Action mapped for namespace
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- 新手学习Struts2遇到的问题:There is no Action mapped for namespace / and action name . - [unknown location]
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结 (转载)
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- There is no Action mapped for namespace / and action name ..问题分析
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结