SSM
SuperGirl2020
这个作者很懒,什么都没留下…
展开
-
@Controller和@RestController的区别
知识点:@RestController注解相当于@ResponseBody + @Controller合在一起的作用。 1) 如果只是使用@RestController注解Controller,则Controller中的方法无法返回jsp页面,或者html,配置的视图解析器 InternalResourceViewResolver不起作用,返回的内容就是Return 里的内容。 ...转载 2019-01-31 21:44:55 · 75 阅读 · 0 评论 -
Servlet.init() for servlet springmvc threw exception报错解决
HTTP Status 500 – Internal Server ErrorType Exception ReportMessage Servlet.init() for servlet springmvc threw exceptionDescription The server encountered an unexpected condition that prevented ...转载 2019-02-18 13:26:48 · 3022 阅读 · 1 评论