- 浏览: 24746 次
- 性别:
- 来自: 杭州
最新评论
-
猿哥哥:
如果共享目录使用登录机制了呢?要如何解决?
java读取远程文件
文章列表
<typeAlias alias="question" type="com.jinkun.youdebao.bean.QuestionBean" />
<select id="answerByNetworkmanShow" parameterClass="map" resultClass="question"> <![CDATA[SELECT * FROM answer where answerid=#answerid# ]]></select>
...
- 2009-07-16 12:30
- 浏览 472
- 评论(0)
package read;
import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundException;import java.io.FileReader;
public class Test extends Thread { String str = ""; public void run() { while (true) { File file = new File("//192.168.1.110/hhh/abc.txt"); int size ...
- 2009-07-08 12:58
- 浏览 741
- 评论(1)
#-------------------------------- # log4j.rootLogger=DEBUG,fileout#, stdout, fileout #log4j.logger.test=info #log4j.logger.org.apache.jasper = DEBUG #log4j.logger.org.apache.catalina.startup.TldConfig = DEBUG #log4j.logger.org.apache.catalina.session.ManagerBase = DEBUG #log4j.logger.com.fiscal = DEB ...
- 2009-04-13 16:17
- 浏览 583
- 评论(0)
#-------------------------------- # log4j.rootLogger=DEBUG,fileout#, stdout, fileout #log4j.logger.test=info #log4j.logger.org.apache.jasper = DEBUG #log4j.logger.org.apache.catalina.startup.TldConfig = DEBUG #log4j.logger.org.apache.catalina.session.ManagerBase = DEBUG #log4j.logger.com.fiscal = DEB ...
- 2009-04-13 16:17
- 浏览 867
- 评论(0)
有时候我们会需要做excel的报表,下面这个例子详细的给出了读写及定义样式的方法。
package
com.test;
import
java.io.File;
import
java.io.IOException;
import
jxl.Cell;
import
jxl.Sheet;
import
jxl.Workbook;
import
jxl.format.Border;
import
jxl.format.BorderLineStyle;
- 2009-03-10 09:30
- 浏览 646
- 评论(0)