2018年12月21日

springboot系列六、springboot配置错误页面及全局异常

摘要: 一、spring1.x中处理方式 二、spring2.x中处理方式 那么此时只要出现了错误,就会找到相应的 http 状态码,而后跳转到指定的错误路径上进行显示。 三、ErrorPageAction跳转处理 404.html 四、全局controller异常返回处理 1、返回错误页面配置 如果此时配 阅读全文

posted @ 2018-12-21 18:36 小人物的奋斗 阅读(10999) 评论(0) 推荐(1) 编辑

导航