摘要: 注意:只能在一次请求转发中使用。 package org.example.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.an 阅读全文
posted @ 2023-01-08 18:54 小白龙白龙马 阅读(129) 评论(0) 推荐(0)
摘要: @RequestMapping(value = "/test5") //请求转发 public void test5(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOExcepti 阅读全文
posted @ 2023-01-08 16:59 小白龙白龙马 阅读(226) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-01-08 16:39 小白龙白龙马 阅读(83) 评论(0) 推荐(0)
摘要: getParameter(String name) getParameterValues (String name) getParameterNames() getParameterMap() 代码: package org.example.controller; import org.spring 阅读全文
posted @ 2023-01-08 16:20 小白龙白龙马 阅读(659) 评论(0) 推荐(0)
摘要: 代码: package org.example.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.Rest 阅读全文
posted @ 2023-01-08 15:01 小白龙白龙马 阅读(424) 评论(0) 推荐(0)
摘要: 方式一: 方式二: 本地示例: package org.example.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.ann 阅读全文
posted @ 2023-01-08 14:47 小白龙白龙马 阅读(809) 评论(0) 推荐(0)
摘要: request原理: request功能: 代码示例: package org.example.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework. 阅读全文
posted @ 2023-01-08 14:30 小白龙白龙马 阅读(127) 评论(0) 推荐(0)
摘要: HTTP概述: HTTP_请求消息_请求行: HTTP消息的结构 先看Request 消息的结构, Request 消息分为3部分: 第一部分叫Request line(请求行); 第二部分叫Request header(请求头); ——————空行———————— 第三部分是body(请求体); 阅读全文
posted @ 2023-01-08 14:02 小白龙白龙马 阅读(88) 评论(0) 推荐(0)