摘要: 在SpringBoot中发生了4xx 5xx之类的错误,SpringBoot默认会发一个/error的请求,该请求由BasicErrorController处理,即在SpringBoot中错误处理也是由Controller负责的。该Controller种主要有两个方法,分别用来返回HTML页面和JS 阅读全文
posted @ 2019-05-25 17:02 AshOfTime 阅读(223) 评论(0) 推荐(0) 编辑