个人笔记-SpringMVC响应,携带数据页面跳转
携带数据页面跳转设定方式一:使用HttpServletRequest类型形参进行数据传递@RequestMapping("/showPageAndData1")public String showPageAndData1(HttpServletRequest request){ request.setAttribute("name","thenema"); return "page.jsp";}方式二:使