Fork me on GitHub

页面title加icon

把favicon.ico放入根目录下,在head中添加一下代码

<link rel="icon" type="image/x-icon" href="/projectName/favicon.ico" />

 注意:

web.xml程序中一定要加映射!!!

 

posted @ 2018-05-23 09:20  秋夜雨巷  阅读(221)  评论(0编辑  收藏  举报