摘要: 1、新建目录 <%@ page contentType="text/html;charset=gb2312"%> <% String filePath="c:/aaa/"; filePath=filePath.toString();//中文转换 java.io.File myFilePath=new java.io.File(filePath); if(!myFilePath.exists()) myFilePath.mkdir(); %>2、新建文件 <%@ page contentType="text/html 阅读全文
posted @ 2012-11-24 09:16 IT稻草 阅读(160) 评论(0) 推荐(0)