摘要:
@RequestMapping(value = "/fileDownload") @ResponseBody public String fileDownload(HttpServletRequest request, HttpServletResponse response) throws IOE 阅读全文
摘要:
HTML页面: <html><body><form action="http://localhost:8080/项目名/controller/方法名" method="POST" enctype="multipart/form-data"> yourfile: <input type="file" 阅读全文