spring的控制器如何跳转到指定的视图

1.控制器代码

2.跳转代码

return "greeting";
引号内为跳转的页面,默认不需要加html

  

猜你喜欢

转载自www.cnblogs.com/max-hou/p/11093700.html