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

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

 注意:

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

 

相关文章:

  • 2022-12-23
  • 2022-02-02
  • 2021-09-18
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
  • 2021-07-12
  • 2022-01-23
  • 2022-12-23
相关资源
相似解决方案