随笔分类 -  Spring

Spring框架知识
摘要:1.编写拦截器,实现HandlerInterceptor接口 2.配置拦截适配器 并定义拦截范围 阅读全文
posted @ 2018-02-27 15:02 七脉 阅读(592) 评论(0) 推荐(0)
摘要:Spring全局异常捕捉类 注解@ControllerAdvice package com.sicdt.sicsign.web.bill.controller; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.Excep... 阅读全文
posted @ 2018-02-27 14:36 七脉 阅读(664) 评论(0) 推荐(0)
摘要:SpringBoot+Redis实现HttpSession共享 (2)8082 (3)8081添加session信息,name="丁洁" (4)再次查看8081和8082的session信息 (5)清除8082的session name 再分别查看8081和8082的session信息 二、源码分享 阅读全文
posted @ 2018-02-27 14:05 七脉 阅读(509) 评论(0) 推荐(0)