0
我试图在我的Spring MVC web项目中添加bootstrap glyphicons,但由于某种原因它们不会显示出来。Bootstrap glyphicons没有出现在Spring MVC web项目中
我下载了Bootstrap 3.3.7并保存了资源下的字体文件夹(包含glyphicons文件)以及bootstrap.min.css。
的资源文件夹中的调度的servlet正确配置:
<mvc:resources mapping="/resources/**" location="/resources/" />
<mvc:annotation-driven />
在从另一个线程的回答,表明温泉资源的Servlet不会成为.eot文件,添加以下到我的网页。 xml:
<mime-mapping>
<extension>eot</extension>
<mime-type>application/vnd.ms-fontobject</mime-type>
</mime-mapping>
但它仍然不起作用。
任何帮助,欢迎。