파일 다운로드 썸네일형 리스트형 [Spring] 게시판 파일 업로드, 다운로드 게시판 파일 업로드, 다운로드 먼저 jsp 단에서 form은 enctype="multipart/form-data" 형식으로 파일을 보낸다. Controller 파일 업로드DB에 파일명과 경로를 가지는 필드가 필요하다.private String image_path;private String image_name;private String attach_path;private String attach_name;@RequestMapping(value="/admin/notice/edit", method = RequestMethod.POST)public String edit(HttpServletRequest request, HttpServletResponse response, @RequestParam HashMap .. 더보기 이전 1 다음