第三方开源技术
文章平均质量分 79
DryKillLogic
Carpe Diem!
I went to the woods because I wished to live deliberately,to front only the essential facts of life,and see if I could not learn what it had to teach,and not,when I came to die,discover that I had not lived …
展开
-
Displaytag的使用一(转)
公司要用Displaytag控制页面表格,特学习一下: Display Tag Lib是一个标签库,用来处理jsp网页上的Table,功能非常强,可以对的Table进行分页、数据导出、分组、对列排序等等,反正我在做项目时需要的功能它都给我提供了,而且使用起来非常的方便。能够大大减少代码量。 介个是Display Tag的官方网站http://displayta转载 2010-04-21 08:50:00 · 1125 阅读 · 0 评论 -
Displaytag的使用二(转)
1.列表的子集 offset 为第一个数据在mylist中的序号。 length 为显示的记录条数。2.自动设置链接 能够把此列的内容作为链接,连接的url和内容一致。 当然必须格式有效的url,否则写了也没有连接。 ( 自认为这个功能一般。 因为连接的内容和显示的内容通常不一样。 ) 当然可以在在这里转载 2010-04-21 09:00:00 · 874 阅读 · 0 评论 -
Displaytag的使用三
默认显示全部数据1.加入jar包:commons-beanutils-1.7.0.jarcommons-collections-3.2.jarcommons-lang-2.2.jarcommons-logging-1.1.jardisplaytag-1.1.1.jar2.加入资源文件displaytag.properties3.考入css,ima原创 2010-04-21 09:08:00 · 994 阅读 · 0 评论 -
Displaytag的使用四
修改具体页面,实现如下: Java代码: List list = new ArrayList(); Pojo2 p21 = new Pojo2(); p21.setName("第一校区"); p21.setJieYue(10); p21.setGuiHua(8); p21.setJianZhu(5);原创 2010-04-21 11:31:00 · 841 阅读 · 0 评论 -
Pager-taglib
Pager-taglib,是一套分页标签库,可以灵活地实现多种不同风格的分页导航页面,并且可以很好的与服务器分页逻辑分离支持多种风格的分页显示。通过这些标签的不同的组合,会形成多种不一样的分页页面,风格各异,它自带的DEMO就有七种左右的分页风格,包括Google的分页风格。而需要订制自已的风格的分页页面也非常简单。 分页方式有两种: 第一种是从Action中得到一个List,在页原创 2010-04-23 09:06:00 · 2293 阅读 · 0 评论 -
Log4j的使用
Log4j基础知识1.Logger:完成日志信息的处理输出级别off > fatal > error > warn > info > debug > trace > all选定输出级别后,其以上的信息都会输出好处:由于开发阶段输出的日志信息与产品阶段输出的日志信息是有很大区别的,所以可以进行区分2.Appender:设置日志信息的去向可以同时指定多个输出目的地log4j.appender.appenderName = Appender.classlog4j.appender.ap原创 2010-10-19 15:10:00 · 839 阅读 · 0 评论 -
利用JQGrid动态删除多行数据,行号(即删除/增加数据)变化的问题
利用JQGrid删除多行数据:所选中行号依次为1、2、4利用FireBug查看由js动态生成的html标签可以验证:可以看出每行的行号就是它的id号点击删除后,如果会动态变化那么缴费记录编号为3的这行数据行号应该变为1:Html:从此可以看出剩下的这行id仍是3,所以行号是不会动态变化的。其实按常理来推测行号也是不会动态变化的,因为在添加、删除的过程中只是对所选择的数据行进行更新,并没有刷整个数据表的div,所以不会动态的调整行号(也许以后的插件中会动态的刷新整个div)。在删除的过程中还遇到了另一个问题:原创 2011-01-02 15:30:00 · 31562 阅读 · 8 评论 -
JasperReports的简单介绍
JasperReports是世界上最流行的开源报告引擎。它是完全用Java编写的,它是能够使用的数据来自任何类型的数据源,并生成像素级的文档,可以查看、打印或导出在多种文档格式,包括HTML、PDF、Excel、OpenOffice和doc。JasperReports是一个用Java开发的开源的程序库,使用户能够透过它,利用Java语言来开发具有报告功能的程序。JasperReports的模版采用原创 2014-07-18 14:48:43 · 1230 阅读 · 0 评论 -
POI 处理Excel的简单介绍
一.POI简介Jakarta POI 是apache的子项目,它提供了一组操纵Windows文档的Java API目前比较成熟的是HSSF接口,处理Excel对象,可以控制一些属性如sheet,cell等等。二.HSSF介绍HSSF 是Horrible SpreadSheet Format的缩写(讨厌的电子表格格式)。也许HSSF的名字有点滑稽,就本质而言它是一个非常严肃、正规原创 2014-07-24 10:04:34 · 1397 阅读 · 0 评论