为何总是提示:There is no Action mapped for namespace / and action name mailAction

   阅读
为什么总是提示:There is no Action mapped for namespace / and action name mailAction
分页时,在jsp页面上,把鼠标停在链接的页码上,状态栏显示“http://localhost:8080/mail/mailAction.action?pager.offset=10”,但点击时报错:

HTTP Status 404 - There is no Action mapped for namespace / and action name mailAction.

--------------------------------------------

type Status report

message There is no Action mapped for namespace / and action name mailAction.

description The requested resource (There is no Action mapped for namespace / and action name mailAction.) is not available.

可是我直接在地址栏里输入“http://localhost:8080/mail/mailAction.action?pager.offset=10”,却能够正确显示下一页内容。
请问这是什么原因呢?(struts2.0 + spring2.5 + hibernate3.3 + mysql5.0 + tomcat5.5 + myeclipse6.5)

------解决方案--------------------
呦!!!有这样的事情!
------解决方案--------------------

description The requested resource (There is no Action mapped for namespace / and action name mailAction.) is not available.
你的配置出错,要么就写错了action,
------解决方案--------------------
如果不出以为的话,你用的是 struts2, 因为http://localhost:8080/mail/mailAction.action?pager.offset=10
用了struts2的话要配置 namespace这个属性的..
------解决方案--------------------
你在地址览直接输是直接去访问,如果你是连接,你要看一下你的那个连接是 用from提交的吗
from提交的和在地址栏上面直接输入是不一样的.
阅读