我手动的在里面建立了一个文件夹checkresult,具体目录是D:\zx\fundSystem\checkresult
我删除的时候根据文件名获取的文件的绝对路径来删除,但是怎么找到我的WebLogic里面去了?
[code="java"]File f = new File("fundSystem/checkresult/" + gr.getFile()).getAbsoluteFile();
System.out.println("要删除文件的绝对路径是:"+f.getAbsolutePath());
if (f.exists())
f.delete();
else
System.out.println("file is not exist!");[/code]
控制台显示的信息怎么跑到我的WebLogic目录里了呢?
[color=red]要删除文件的绝对路径是:C:\bea\user_projects\domains\mydomain\fundSystem\checkresult\k.txt[/color]
在WebLogic里找不到那个checkresult目录呢