彪壮烧鹅

文章
2
资源
0
加入时间
3年1月15天

struts中应用MultipartRequest

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