在项目中一般导出报表用poi,但是如果你不想用框架就用简单的jsp也可以实现报表导出。而且实现起来还特别简单。先看一下效果截图:
点击导出后的效果截图:
具体实现:
第一:在页面的列表页面中就是普通的iterator源码如下:
序号
...
分类:
编程语言 时间:
2014-04-29 13:48:21
阅读次数:
436
Ubuntu 或 UbuntuKyLin14.04 Unity桌面侧边栏和顶层菜单栏显示异常解决方法...
分类:
其他好文 时间:
2014-04-29 13:45:20
阅读次数:
442
token.c和perly.y
=================================================
不清...
分类:
其他好文 时间:
2014-04-29 13:38:21
阅读次数:
384
在项目中有时需要验证用户是否以post方式提交。下面是验证源码:
public boolean checkMethod(String method) {
if (request.getMethod().equalsIgnoreCase(method)) {
return true;
}
else {
...
分类:
Web程序 时间:
2014-04-29 13:34:20
阅读次数:
350
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
398
XP+ubuntu双系统可参考
xp硬盘上安装ubuntu12.04双系统
1、XP安全不再,终于将吾等磨机的人逼上梁山,是时候做一个win7+ubuntu的双系统了。废话少说,直接进入主题,先腾出一个硬盘空间,一般来讲肯定将你win7中的最后一个盘格掉并删除逻辑分区,我留了200G(安卓的版本编译原码大了,还引入了ccache等机制,这写都是以硬盘为代价的!)
2....
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
...
分类:
其他好文 时间:
2014-04-29 13:13:21
阅读次数:
309
代码来自于这里
https://code.google.com/p/stanford-cs193g-sp2010/source/browse/trunk/tutorials/sum_reduction.cu...
分类:
其他好文 时间:
2014-04-29 13:13:20
阅读次数:
324
>> I=imread('nickyboom.jpg');
J=double(I);
J=-J+(256-1); %图像反转线性变换
H=uint8(J);
subplot(1,2,1),imshow(I);
subplot(1,2,2),imshow(H);...
分类:
其他好文 时间:
2014-04-29 13:12:21
阅读次数:
306