Spring MVC登錄攔截或者過濾

兩種方式: 1. 使用攔截器,在spring-*.xml 中配置需要攔截的url  實現HandlerInterceptorAdapter 接口 http://blog.csdn.net/tonytfjing/article/details/39207551 2. 使用過濾器,在web.xml 中配置過濾器 ,實現 filter 接口 http://fanshuyao.iteye.com/blog
相關文章
相關標籤/搜索