百度空间 | 百度首页 
 
文章列表
 
您正在查看 "Java" 分类下的文章

2009-11-05 14:57

运行java.exe 出现Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'错误
以前就出现过,觉得自己环境变量都设了,应该没问题了,懒得想了,重装了就好了。
这次很奇怪的忽然之间又不行了,所以百度了一下,发现文章如下:
运行java.exe 出现Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'错误的解决。(原创)

前提:配置好了Path

类别:Java | 评论(0) | 浏览()
 
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) | 浏览()
 
     
 
 
文章分类
 
 
 
 
 
 
Jsp(14)
 
 
Ajax(50)
 
 
 
 
Qq(2)
 
 
Java(8)
 
 
 
Xml(1)
 
Ssh(8)
 
 
 
 
 
 
 
 
 
Flex(4)
 
 
 
 
 
 
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

谢谢你的解答,解决了我面临的棘手问题
 

没用啊! 照样报错: Io 异常: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=1698...
 

 

厉害,顶……
 

转了
 
     


©2009 Baidu