摘要: /** *删除某个文件夹下的所有文件 * @param fileName */ public void deleteOldFile() { //clientFilePath是某个目录,如c:/test File file = new File(clientFilePath); if (!file... 阅读全文
posted @ 2013-02-28 13:08 嗨,你的益达~~~ 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.jsp页面传参 2.java applet接受参数 String url = getParameter("url"); String fileName = getParameter("fileName"); 阅读全文
posted @ 2013-02-28 13:06 嗨,你的益达~~~ 阅读(448) 评论(0) 推荐(0) 编辑
摘要: /** * 下载远程文件并保存到本地 * @param remoteFilePath 远程文件路径 * @param localFilePath 本地文件路径 */ public void downloadFile(String remoteFilePath, String localFile... 阅读全文
posted @ 2013-02-28 13:03 嗨,你的益达~~~ 阅读(29049) 评论(0) 推荐(0) 编辑
摘要: Applet数字签名突破Applet的安全限制,读写本地文件 第1步 编写applet程序:在src创建myApplet类 import java.applet.Applet; import java.io.BufferedInputStream; import java.io.... 阅读全文
posted @ 2013-02-28 13:00 嗨,你的益达~~~ 阅读(373) 评论(0) 推荐(0) 编辑