@RequestMapping("/test")public void testVoid(HttpServletRequest request, HttpServletResponse response) throws Exception {// 重定向// response.sendRedirect(request.getContextPath()+"/index.jsp");// 重定向第二种写法return "redirect:/index.jsp";}
1200字范文,内容丰富有趣,写作的好帮手!