摘要: 一、springboot整合servlet与filter spring原始的方式是在web.xml中配置servlet的配置配置方式参考spring(配置好servlet-mappiing与servlet标签)餐参考链接https://www.cnblogs.com/whluan/p/1214575 阅读全文
posted @ 2021-02-18 16:50 臭猪 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1、函数 4 String requestedWith = req.getHeader("X-Requested-With"); 5 boolean isAjax = requestedWith != null ? "XMLHttpRequest".equals(requestedWith) : f 阅读全文
posted @ 2021-02-18 11:25 臭猪 阅读(63) 评论(0) 推荐(0) 编辑
摘要: springboot项目创建 springboot学习记录,仅供自己后期查看用。 springboot设计的目的是为了简化spring应用工程的初始搭建,以及开发过程,嵌入Tomcat,无需war包,springboot不是对spring的增强,只是提供了一种简单的使用方式。 一、springboo 阅读全文
posted @ 2021-02-18 10:56 臭猪 阅读(64) 评论(0) 推荐(0) 编辑