现在我有个URL ,在地址栏里得 输入http://localhost:8080/test/a.action 就能访问到 test 项目的 a.jsp页面。
但是我想直接访问 http://localhost:8080/test/a 就能访问到a.jsp 页面了。在Struts2 中 怎样将 .action屏蔽掉??
但是我想直接访问 http://localhost:8080/test/a 就能访问到a.jsp 页面了。在Struts2 中 怎样将 .action屏蔽掉??
调试欢乐多
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
这是我的 Web.xml