您正在查看 "Java" 分类下的文章
2009-06-27 22:08
网上查了很多资料, 有几种实现方法,但是觉得都不合理, 高手赐教
1、开源框架
http://www.example-code.com/java/default.asp
缺点:要往c盘下的win目录下写dll文件,在linux 下失效。而且收费的。
2、java实现快照抓取成照片。
使用java将网页抓取为一张照片。
缺点:只看到一个照片。不能点击其相应的链接。
3、写文件。
缺点:如何同时将css文件的内容写到mht文件中,而且相应的照片如何下载下来。
|
2009-05-09 17:40
URL:http://displaytag.sourceforge.net/1.2/
Actually the display tag library can just... display tables! Give it a list of objects and it will handle column display, sorting, paging, cropping, grouping, exporting, smart linking and decoration of a table in a customizable XHTML style.
The tables in the sample images below were generated from lists using the <display:table> tag:
|
2009-02-17 23:22
今天为了排除一个错误还配置了一次log4j,看来长时间不用, 什么东西都能忘记。, 为了再次忘记, 把例子写到这里。
一、创建log4j.properties(放到src,目录下),log4j.rootCategory 的值共计有五种情况,具体查下资料吧。
log4j.rootCategory=debug, stdout,R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p (%F:%L) - %m%n
|
2008-07-31 10:35
2008-04-19 01:09
插入排序:
package org.rut.util.algorithm.support;
import org.rut.util.algorithm.SortUtil;
/**
* @author treeroot
* @since 2006-2-2
* @version 1.0
*/
public class InsertSort implements SortUtil.Sort{
/* (non-Javadoc)
* @see org.rut.util.algorithm.SortUtil.Sort#sort(int[])
*/
public void sort(int[] data) {
|
|
|