본문 바로가기
프로그래밍/2016.09~ 2017.03 수업

enctype

by Luhie 2016. 11. 10.

<form action="<%=request.getContextPath()%>/helloServlet.jjdev" 

method="post" 

enctype="application/x-ww-form-urlencode">

눈에는 보이지 않지만 디폴드 값이다 


enctype="multipart/form-data"

숫자로 들어가는것 reqest.getParameter를 못쓴다.

파일, 그림 (마임타입까지 함께 넘어가야한다,post로만 구현 가능 get은 주소창으로 넘어가기때문에 구현 불가능)