struts中应用MultipartRequest
//struts中的action对应的actionform一定要随便写一个不存在的actionform,否则,进入action之后, struts可能对request作了什么操作,使得无法应用MultipartRequest String filePath = request.getRealPath("/") + "docfile";// 上传到指定的docfile包中 filePa