百度

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

1.控制器代码

2.跳转代码

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

  

posted @ 2019-06-26 20:29  麦克斯-侯  阅读(315)  评论(0)    收藏  举报
百度