摘要: Book private Timestamp date; <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http:// 阅读全文
posted @ 2020-12-07 22:00 檐下赏雨 阅读(55) 评论(0) 推荐(0)
摘要: 目的:在页面跳跃后,文本框里的自动获取数据。 方法1: 原生态写法 @Controller public class BookController { @RequestMapping(value="/book",method=RequestMethod.GET) public ModelAndVie 阅读全文
posted @ 2020-12-07 21:04 檐下赏雨 阅读(178) 评论(0) 推荐(0)
摘要: model modelMap @Controller public class BookController { @RequestMapping(value="/book",method=RequestMethod.POST) public ModelAndView method2(HttpServ 阅读全文
posted @ 2020-12-07 19:26 檐下赏雨 阅读(110) 评论(0) 推荐(0)
摘要: 标题 import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bin 阅读全文
posted @ 2020-12-07 19:01 檐下赏雨 阅读(66) 评论(0) 推荐(0)