privateFilefile;privateStringfileFileName;privateStringpicture;InputStreamis=newFileInputStream(file);//引入一个IO流的输入流Stringroot=ServletActionContext.getRequest().getRealPath("/bookpicture");//通过REQUEST来得到相对地址,并在后面加上/bookpictureFilef=newFile(root,this...
查看全文