摘要:
ServletContext对象: 1.概念:代表整个web应用,可以和程序的容器(服务器)来通信。 2.获取: 1. 通过request对象获取 request.getServletContext(); 2. 通过HttpServlet获取 this.getServletContext(); im 阅读全文
摘要:
1. 请求消息:客户端发送给服务器端的数据 * 数据格式: 1. 请求行 2. 请求头 3. 请求空行 4. 请求体 GET /test/response01 HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows NT 10.0 阅读全文