解决方案 »
- struts2中文乱码
- 关于LIST和VECTOR
- jquery get 使用方法求助
- 请教,关于配置ssh2的applicationcontext.xml
- Myeclipse运行项目是出错
- hibernate一对多关系出现could not initialize a collection错误
- Jsp中能否直接调用自己写的class类,不用serlvet,能否行的,高手进行看看!!!!!!!!!!!!
- jsp中session问题
- 请问哪里有html和javascript 的电子文档
- 密码传送采用国产sm加密算法实现 求帮助
- 紧急求助!紧急求助!紧急求助!紧急求助!参与者都得分。
- 子窗口刷新父窗口
FileWriter dataFile = new FileWriter("c:\\jakarta-tomcat-4.1.31\\webapps\\root","mxj.jsp");
PrintWriter pw = new PrintWriter(new BufferedWriter(dataFile));
pw.print("wewe");
pw.close();
dataFile.close();
您的意思是:File 此类不能创建文件了,要换一类是吗?
继续请教~~~~~~~~~~~~~~~~
try{
File f=new File("c:\\hhhhhhh");
f.createNewFile();
}catch(Exception e){
}