package framework.fileUpload; import java.util.List; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import framework.base.FrameBaseController; import framework.fileUpload.FileUploadHelper.UploadFile; @Controller public class DemoUploadController extends FrameBaseController { @RequestMapping(value = "demoFileUpload") public String upload() throws Exception { System.err.println(this.getRequest().getParameter("fileName")); List list = this.getAllUploadFile(); if(list !=null){ for(UploadFile file : list){ System.err.print(file.getFile().getAbsolutePath()); } } return null; } }