摘要: 上传方式1: // 保存上传的文件 public boolean saveFile(File file, String fileName) throws IOException { File newFile = new File(this.UFILE_ROOT_PATH); if (!newFile.exists()) newFile.mkdirs(); newFile = new File(this.UFILE_ROOT_PATH, fileName); FileOutputStream os = null; FileInputStream is = null; try ... 阅读全文
posted @ 2013-08-14 14:59 mynona 阅读(212) 评论(0) 推荐(0) 编辑