一个简单的spring MVC例子来了解一下。
访问的三个连接:
http://localhost/springMVC/jsp/welcomehtml.html
http://localhost/springMVC/welcome
http://localhost/springMVC//login/user/
new ModelAndView(new RedirectView("xxx.do?msg=xyz");
本文通过访问三个连接示例介绍了SpringMVC的基本概念,并展示了如何使用newModelAndView方法实现跳转。
一个简单的spring MVC例子来了解一下。
访问的三个连接:
http://localhost/springMVC/jsp/welcomehtml.html
http://localhost/springMVC/welcome
http://localhost/springMVC//login/user/
new ModelAndView(new RedirectView("xxx.do?msg=xyz");
1194

被折叠的 条评论
为什么被折叠?