String picname = upload.addImage(request, "pic", "headImage");
if(picname != null){
String path = session.getServletContext().getRealPath("/" )+"pic\headImage\"+user.getHeadpic();
upload.deletepic(path);
user.setHeadpic(picname);
loginqianmapper.updateByPrimaryKeySelective(user);
}
Response.Write("window.parent.uploadSuccess("+picname +");");
The method Write(String) is undefined for the type Response,出这个异常