启动primefaces和解决mime的问题 在web.xml文件中配置
2016-06-08 21:48
381 查看
<!--what's FontAwesome FontAwesome Font Awesome is a highly customizable scalable vector iconset with 479 icons. In addition to the default ThemeRoller icons, Font Awesome icons are provided out of the box within PrimeFaces. In order to enable Font Awesome support, enable primefaces.FONT_AWESOME setting as true via a context param. --> <!-- 让primefaces 的FONT_AWESOME 起作用 --> <context-param> <param-name>primefaces.FONT_AWESOME</param-name> <param-value>true</param-value> </context-param> <!-- 必须要指定该mime的映射类型,否则tomcat启动时弹出警告 --> <mime-mapping> <extension>woff2</extension> <mime-type>application/x-front-woff</mime-type> </mime-mapping>
相关文章推荐
- 太用力的人跑不远
- Java网络编程
- Centos 安装MySQL(yum方式)
- 编程题之斐波那契数列分解
- 算法竞赛入门第五章习题分析(部分)
- Chapter 3. SQL Server数据库、表的基本操作(insert插入、update更新、delete、truncate删除语句)
- 哈夫曼树数据机构的建立及哈夫曼编码与解码的C++实现
- 重构
- ubuntu下开启远程访问mysql
- THUSC 2016游记
- 团队项目第二阶段冲刺站立会议04
- geotrellis使用(七)记录一次惨痛的bug调试经历以及求DEM坡度实践
- Eclipse使用之 CDT中EOF无效
- 操作系统的常用的进程调度算法
- android定时
- SQL邮件服务(解决各种疑难杂症)+案例 + 使用SQLserver 邮件系统发送SQL代理作业执行警告
- 【机器学习】SVM分类器
- Android内存泄露案例和解析
- linux之task_struct
- 【java】容器