百度空间 | 百度首页 
               
 
文章列表
 
您正在查看 "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文件中,而且相应的照片如何下载下来。

类别:Java | 评论(1) | 浏览()
 
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:

类别:Java | 评论(0) | 浏览()
 
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

类别:Java | 评论(1) | 浏览()
 
2008-07-31 10:35

转载地址:http://blog.csdn.net/hbcui1984/archive/2008/07/27/2720204.aspx

在JAVA程序中,经常需要和FTP打交道,比如向FTP服务器上传文件、下载文件,本文简单介绍如何利用jakarta commons中的FTPClient(在commons-net包中)实现上传下载文件。

一、上传文件

       

类别:Java | 评论(0) | 浏览()
 
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) {
    

类别:Java | 评论(3) | 浏览()
 
     
 
 
文章分类
 
 
 
 
 
 
Jsp(14)
 
 
Ajax(50)
 
 
 
 
Qq(2)
 
 
Java(7)
 
 
 
Xml(1)
 
Ssh(8)
 
 
 
 
 
 
 
 
 
Flex(4)
 
 
 
 
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

今天帮我一忙,呵呵
 

谢谢了啊
 

切,来了也不帮我踩踩空间``````
 

谢谢,我弄了一中午现在终于搞定了。
 

回复hhayy7758:靠, 你看谁媳妇功力这么强啊。 能咬这样。。汗。。。
 
     


©2009 Baidu