随笔分类 - Spring
Spring框架知识
摘要:1.编写拦截器,实现HandlerInterceptor接口 2.配置拦截适配器 并定义拦截范围
阅读全文
摘要:Spring全局异常捕捉类 注解@ControllerAdvice package com.sicdt.sicsign.web.bill.controller; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.Excep...
阅读全文
摘要:SpringBoot+Redis实现HttpSession共享 (2)8082 (3)8081添加session信息,name="丁洁" (4)再次查看8081和8082的session信息 (5)清除8082的session name 再分别查看8081和8082的session信息 二、源码分享
阅读全文
浙公网安备 33010602011771号