springmvc controller如何跳转到jsp、html?
1 @RequestMapping(value = "/exitRecords.do") 2 public String getExitRecords(String xh, HttpServletRequest request, 3 HttpServletResponse response) throws IOException 4 { 5 return "exitRecords"; 6 }
1 @RequestMapping(value="/exit.do") 2 public String toExitPage(HttpServletRequest request, 3 HttpServletResponse response) 4 { 5 return "exit"; 6 }
exit.html
exitRecords.jsp