请教一个关于smartupload的问题?急

08-08-14 sdjnkeke
SmartUpload su=new SmartUpload();

su.initialize(pageContext);

su.upload();

String path1=request.getRealPath("do_upload.jsp");

String realpath=path1.substring(0,path1.lastIndexOf("\\"));

out.print(realpath);

out.print("<br>");

out.print(realpath+"\\files\\");

out.print("<br>");

int count=su.save(realpath+"\\files");

总是在:int count=su.save(realpath+"\\files");

报错,请各位大虾指出错误

谢谢!!!!!!!!

banq
2008-08-14 10:04
你不告诉出错信息,神仙也难帮助你。

猜你喜欢