eXtremeComponents安装配置

eXtremeComponents安装配置eXtremeComponents直接下载地址http://sourceforge.net/projects/extremecomp/中文文档:http://lanxin1985.javaeye.

大家好,又见面了,我是你们的朋友全栈君。

eXtremeComponents 直接下载地址http://sourceforge.net/projects/extremecomp/

中文文档:http://lanxin1985.javaeye.com/blog/221530

配置:

 

1、简介

    Extreme Table是功能最强大而又容易配置、扩展、自定义的Table 控件,比DisplayTag要优秀一些。常用的功能包括排序、分页、导出Excel, pdf和汇总。
    网站:
http://www.extremecomponents.org<span role="heading" aria-level="2">eXtremeComponents安装配置  打不开了,最后更新的版本是 20060530
2、
安装配置
1)到
http://www.extremecomponents.org下载eXtremeComponents,并解压(到extremecomponents文件夹);
2)新建一个tomcat应用;
3)把extremecomponents文件夹下lib的minimum、xls、pdf的所有jar文件拷贝到web应用的WEB-INF/lib下。如果不使用Excel, pdf导出功能,那么xls、pdf下的jar文件就不用拷贝;还有dist下extremecomponents的核心jar包;
4)把extremecomponents文件夹下images拷贝到web应用的根目录下;
5)把extremecomponents下test文件夹的test.jsp文件拷贝到web应用的根目录下;
6)修改test.jsp文件以新增excel、pdf导出:在<ec:table>、<ec:row>标签之间新增如下内容:
<ec:exportXls fileName=”president.xls” tooltip=”Export Excel”/>
<ec:exportPdf fileName=”president.pdf” tooltip=”Export PDF”/>
7)把extremecomponents的extremecomponents.tld拷贝到WEB-INF/tld
8)修改web.xml,为了使用导出功能,只需要在web.xml文件中加入eXtremeComponents的导出过滤器的配置,内容如下
<filter>
   <filter-name>eXtremeExport</filter-name>
   <filter-class>org.extremecomponents.table.filter.ExportFilter</filter-class>
   <init-param>
    <param-name>responseHeadersSetBeforeDoFilter</param-name>
    <param-value>true</param-value>
   </init-param>
</filter>
<filter-mapping>
   <filter-name>eXtremeExport</filter-name>
   <url-pattern>/*</url-pattern>
</filter-mapping>
新增taglib
<taglib>
   <taglib-uri>/tld/extremecomponents</taglib-uri>
   <taglib-location>/WEB-INF/tld/extremecomponents.tld</taglib-location>
</taglib>
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/155347.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号