关于struts2.0 的基础问题
我昨天在试struts2.0的时候,
总是报404 错误,
说找不到 我的action。
在struts.xml里面配置好了的。
后来我把jsp页面的:action=“login” 改成了 action=“login.action”,
就没有报404 错误了,
所以我想请教下,
是不是 struts2.0 必须要写xxxx.action的?
ps,
我的web.xml文件里面的
<filter-mapping>
<filter-name>struts2<filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>