![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
cdw_sunshine
这个作者很懒,什么都没留下…
展开
-
struts2—配置struts2自定义拦截器实现登录拦截1
自定义拦截器import com.opensymphony.xwork2.ActionContext;import com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor;//配置不拦截登陆方法//拦截登陆以外的所有方法publ...原创 2018-05-19 23:15:26 · 283 阅读 · 0 评论 -
struts2—web.xml中配置struts2过滤器
<!-- struts2 入口过滤器 --> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filte...原创 2018-05-19 23:09:41 · 1056 阅读 · 0 评论