我的github
上一页 1 ··· 198 199 200 201 202 203 204 205 206 ··· 338 下一页
摘要: HttpServletRequestWrapper类的使用:https://www.cnblogs.com/xuhewei/p/11474389.html 使用HttpServletRequestWrapper重写Request请求参数:https://www.cnblogs.com/cach/p/ 阅读全文
posted @ 2022-01-20 16:29 XiaoNiuFeiTian 阅读(50) 评论(0) 推荐(0)
摘要: lnterceptor主要作用:拦截用户请求,进行处理,比如判断用户登录情况、权限验证,只要针对Controller请求进行处理,是通过Handlerlnterceptor。 Filter主要作用:过滤字符编码、做一些业务逻辑判断,主要用于对用户请求进行预处理,同时也可进行逻辑判断。 springm 阅读全文
posted @ 2022-01-20 15:44 XiaoNiuFeiTian 阅读(83) 评论(0) 推荐(0)
摘要: DispatcherServlet是前置控制器,配置在web.xml文件中的。拦截匹配的请求,Servlet拦截匹配规则要自己定义,把拦截下来的请求,依据相应的规则分发到目标Controller来处理,是配置spring MVC的第一步。 参考:https://baike.baidu.com/ite 阅读全文
posted @ 2022-01-20 14:08 XiaoNiuFeiTian 阅读(889) 评论(0) 推荐(0)
摘要: 1. 回顾servlet:https://www.bilibili.com/video/BV1xY411b7hv/ https://mp.weixin.qq.com/s/yuQqZzAsCefk9Jv_kbh_eA 创建HelloServlet标签,它负责拦截/user下的请求 所以,请求类似于ht 阅读全文
posted @ 2022-01-20 09:41 XiaoNiuFeiTian 阅读(307) 评论(0) 推荐(0)
摘要: ThreadLocal<Request>:利用线程保存用户请求。 https://blog.csdn.net/buyaoshuohua1/article/details/77972038 Java中的ThreadLocal详解:https://www.cnblogs.com/fsmly/p/1102 阅读全文
posted @ 2022-01-19 17:40 XiaoNiuFeiTian 阅读(47) 评论(0) 推荐(0)
摘要: this.getClass().getResource(): 参考:https://blog.csdn.net/haoxiaoyong1014/article/details/107452595 >>文件操作: File file = File.createTempFile("geoserver", 阅读全文
posted @ 2022-01-19 16:04 XiaoNiuFeiTian 阅读(90) 评论(0) 推荐(0)
摘要: 当ApplicationContext加载xxx.xml时,并不会实例化bean。。 只有当调用它时才会初始化。 1. Spring Bean初始化initializeBean: Aware接口回调阶段 2. Spring Bean初始化前阶段 3. Spring Bean初始化阶段(Initial 阅读全文
posted @ 2022-01-19 15:56 XiaoNiuFeiTian 阅读(145) 评论(0) 推荐(0)
摘要: request.getContextPath() request.getRequestURI() request.getPath() 参考:https://blog.csdn.net/itWMdevoloping/article/details/80924212 阅读全文
posted @ 2022-01-19 11:33 XiaoNiuFeiTian 阅读(53) 评论(0) 推荐(0)
摘要: Dispatches an http request to an open web service (OWS). 向OWS开放网络服务转发(派发)http网络请求 An OWS request contains three bits of information: 一个OWS请求包含三点信息: Th 阅读全文
posted @ 2022-01-19 09:19 XiaoNiuFeiTian 阅读(220) 评论(0) 推荐(0)
摘要: 方法一:OWS转发方式https://blog.csdn.net/weixin_38670190/article/details/116695489 方法二:手动方式https://www.cnblogs.com/sillyemperor/archive/2011/01/11/1929420.htm 阅读全文
posted @ 2022-01-18 18:01 XiaoNiuFeiTian 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 198 199 200 201 202 203 204 205 206 ··· 338 下一页