摘要: 概述: Spring MVC 提供了以下几种途径输出模型数据: ModelAndView: 处理方法返回值类型为 ModelAndView 时, 方法体即可通过该对象添加模型数据 Map 及 Model: 入参为org.springframework.ui.Model、org.springframe 阅读全文
posted @ 2022-03-10 16:00 啄木鸟伍迪 阅读(130) 评论(0) 推荐(0)
摘要: 一、概述: 配置方式: 同HelloWord的配置方式; 目录结构: @RequestMapping: @RequestMapping除了可以使用请求URL映射请求外,还可以使用请求方法、请求参数及请求头映射请求; @RequestMapping的value、method、params及heads分 阅读全文
posted @ 2022-03-10 13:34 啄木鸟伍迪 阅读(348) 评论(0) 推荐(0)
摘要: 在目标页面(请求页面发put/delet请求 --》请求方法--》目标页面)的jsp page 中添加isErrorPage="true";isErrorPage 默认是false <%@ page language="java" contentType="text/html; charset=UT 阅读全文
posted @ 2022-03-10 11:47 啄木鸟伍迪 阅读(56) 评论(0) 推荐(0)
//火箭 GenerateContentList();