File file = new File(filepath);
file.rename(newname);
file.rename(newname);
解决方案 »
- GOOGLE分页算法
- ArrayList性能优化问题?
- 在jsp页面中使用page errorPage=“a.html”和在web.xml中配置《error-page》是一样的吗?
- ibatis +mysql 有时乱码的问题
- 如何判断结果集为空
- 一个简单的strust数组问题--(在线等待)
- 前方的路怎么走...............
- 刚学JSP,求一段代码
- 当点击按钮后,我想执行jsp脚本怎么办?简单问题
- 请问关于getElementByName问题
- [求助]request.getParameter()函数返回null。
- 从oracle9i数据库中取出中文记录是乱码!!!!!!再加100分!!!!!!!!!
String outFileName="D:\\binary\\source\\outFile.txt";
File outFile=new File(outFileName);
if(outFile.exists()){
System.out.println("文件已存在");
}