springMVC页面跳转:转发和重定向

Servlet API 不用配置视图解析器 @RequestMapping("/tiaozhuan") public void test(HttpServletRequest req, HttpServletResponse resp) throws Exception { resp.getWriter().println("这是跳转的新页面"); ->输出流
相关文章
相关标签/搜索