摘要: 1、根目录: String rootPath = application.getRealPath("/"); 2、文件是否可写: public boolean isCanWrite(String dirPath) { File file = new File(dirPath); if(!file.e 阅读全文
posted @ 2014-06-26 14:08 ProgrammerZHANG 阅读(485) 评论(0) 推荐(0) 编辑