日期:2014-05-17  浏览次数:20689 次

在浏览器进入struts2的action 报错404



这是web.xml



这是sturuts.xml



这是action 代码


action struts 浏览器

------解决方案--------------------
3楼正解。
你的CoustomersAction的方法返回了success,但是你的struts.xml中没有配置<result name="success"></result>的返回路径。

顺便吐槽一下你的英文
Customer 不是  Coustomer
struts.xml  不是  sturuts.xml