为实现拦截 action 直接进入页面
麻烦大家在自己struts2配置文件中extends="struts-default"改成extends="struts-system"
例如
<package name="struts-shop" extends="struts-default" namespace="/shop">改成
<package name="struts-shop" extends="struts-system" namespace="/shop">
拦截action直接进入页面
最新推荐文章于 2019-08-18 08:21:53 发布