读书人

strus2中There is no Action 地图ped

发布时间: 2012-10-28 09:54:44 作者: rapoo

strus2中There is no Action mapped for namespace的总结

struts2中所报的原因总结:

?

目前遇到3类情况:

?

1.方法名中含有get方法与属性域中的某些的setter方法冲突;

?

2.新增加的方法(或更新后的strust.xml)eclipse没有自动部署到tomcat下,不一致引起;

?

?3.struts.xml中的方法名和action的方法名拼写不一致,很多时候由手动拼写方法名的时候容易写错单词。

读书人网 >编程

热点推荐