[File upload] jsp 와 Servlet 을 이용한 이미지 업로드하기
·
MVC/jsp & servlet
▶Servlet 페이지 구현 package upload; import java.io.File; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.oreilly.servlet.MultipartRequest; import com.oreill..