Struts2
David__Yuan
这个作者很懒,什么都没留下…
展开
-
struts2.3.15.3在myeclipse2017的bug
struts2.3.15.3核心包 <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> /success.jsp 调用SayActi原创 2017-03-22 00:16:22 · 277 阅读 · 1 评论 -
struts2中自定义拦截器intercept的相关配置及使用方法
使用自定义的拦截器 继承其中的两个类较为方便: MethodFilterInterceptor 该类有两个可以设置是拦截具体方法,这是AbstractInterceptor所不具备的,使用只需要在struts.xml中静态注入参数即可 setIncludeMethods(String includeMethods):设置需要拦截的方法,多个方法用逗号分隔 setExcludeMeth原创 2017-03-25 22:07:47 · 779 阅读 · 1 评论