上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 119 下一页
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 概述 在 Servlet API 中有四个包装类,它们的作用类似,这里以 HttpServletRequestWrapper 为例学习。 四个包装类分别是: Ser 阅读全文
posted @ 2020-05-31 23:06 jiangbo4444 阅读(1652) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 Filter 说明 Filter 和 Servlet 类似,需要在 web.xml 中配置,其中执行顺序和配置顺序相关。过滤器的主要作用是: 认证 日志 图片转换 阅读全文
posted @ 2020-05-30 16:28 jiangbo4444 阅读(190) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 HttpSession 说明 HttpSession 总共有 17 个方法,其中 5 个方法已过期。 Attribute 系列方法 和 ServletContext 阅读全文
posted @ 2020-05-29 23:21 jiangbo4444 阅读(263) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 Cookie 说明 Cookie 具有一个名称和一个值,也包括其它的可选属性,例如注释,路径和域限定符,最大生存时间等。 一般来说,浏览器总共支持 300 个 Co 阅读全文
posted @ 2020-05-28 23:03 jiangbo4444 阅读(174) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 HttpServletResponse 说明 状态码系列属性 HttpServletResponse 中定义了很多以 SC_ 开头的状态码属性,比如我们经常看见的 阅读全文
posted @ 2020-05-27 22:17 jiangbo4444 阅读(231) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 ServletResponse 说明 ServletResponse 可以让 Servlet 向客户端发送响应。 ServletResponse 由 Servlet 阅读全文
posted @ 2020-05-26 22:21 jiangbo4444 阅读(198) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 HttpServletRequest 说明 HttpServletRequest 中的 isRequestedSessionIdFromUrl 方法被 isRequ 阅读全文
posted @ 2020-05-25 22:51 jiangbo4444 阅读(207) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 ServletRequest 说明 ServletRequest 中的 getRealPath 该方法被 ServletContext 中同名方法代替,不建议使用。 阅读全文
posted @ 2020-05-24 22:28 jiangbo4444 阅读(178) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 ServletRequest 说明 ServletRequest 中的 getRealPath 该方法被 ServletContext 中同名方法代替,不建议使用。 阅读全文
posted @ 2020-05-23 22:47 jiangbo4444 阅读(268) 评论(0) 推荐(0)
摘要: 环境 JDK 8 Spring Tool Suite 4.6.1 Servlet 3.1 Tomcat 8.5 Maven 3.6.3 HttpServlet 说明 HttpServlet 继承于 GenericServlet,关于 GenericServlet 的说明参考:[JavaWeb:Gen 阅读全文
posted @ 2020-05-22 22:12 jiangbo4444 阅读(287) 评论(0) 推荐(0)
上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 119 下一页