随笔分类 -  SpringBoot

speingboot使用jsp
摘要:1.在src/main目录下新建webapp目录 2.在项目结构把新建的webapp作为Web的资源目录 3.添加依赖 <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</a 阅读全文

posted @ 2022-05-08 10:46 玄凰寒 阅读(31) 评论(0) 推荐(0)

SpringBoot拦截器的设置
摘要:1.登录拦截实现HandlerInterceptor接口 public class LoginInterceptor implements HandlerInterceptor { /** * * @param request 请求对象 * @param response 响应对象 * @param 阅读全文

posted @ 2022-01-25 15:18 玄凰寒 阅读(195) 评论(0) 推荐(0)

导航