首页 > 编程语言 > 详细

springmvc controller如何跳转到jsp、html?

时间:2016-03-07 18:36:22      阅读:884      评论:0      收藏:0      [点我收藏+]
技术分享
1     @RequestMapping(value = "/exitRecords.do")
2     public String getExitRecords(String xh, HttpServletRequest request,
3             HttpServletResponse response) throws IOException
4     {
5         return "exitRecords";
6     }
View Code

 

技术分享
1 @RequestMapping(value="/exit.do")
2     public String toExitPage(HttpServletRequest request,
3             HttpServletResponse response)
4     {
5         return "exit";
6     }
View Code

exit.html

exitRecords.jsp

springmvc controller如何跳转到jsp、html?

原文:http://www.cnblogs.com/LideAiYaner-1wn/p/5251304.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!