首先在/src/main/resources下创建文件夹/public/error
在文件夹里创建html页面,jsp页面不可以。
<html> <body> <img src="/img/error/404.gif"> </body> </html>
访问报错时触发
wx5a099c852309b ©著作权
首先在/src/main/resources下创建文件夹/public/error
在文件夹里创建html页面,jsp页面不可以。
<html> <body> <img src="/img/error/404.gif"> </body> </html>
访问报错时触发
下一篇:SpringMVC 异常处理
404页面,看着不赖 ,
需求:uniapp 在写 H5 时,如果在地址栏乱输入,会跳转到 404 页面。
公益404页面是由腾讯公司员工志愿者自主发起的互联网公益活动。网站只需要在自己的404页面中嵌入一段简单的代码,就能通过互
官方解释:就是有的网址你点击过去,因为某些原因是死链接(可
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M