μΉ΄ν…Œκ³ λ¦¬ μ—†μŒ

νŒŒμΌμ—…λ‘œλ“œ1

🩷 슈 🧑 2010. 6. 24. 20:36
728x90
SMALL
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>파일 μ—…λ‘œλ“œ</title>
</head>
<body>
 <h2>νŒŒμΌμ—…λ‘œλ“œ μ—°μŠ΅</h2>
 <fieldset>
  <legend>파일 μ—…λ‘œλ“œ ν•΄μš”</legend>
  <form action="upload.action" method="post" enctype="multipart/form-data">
 
  제λͺ© : <input type="text" name="title" /><br/>
  파일 : <input type="file" name="myfile" /><br/>
  μ„€λͺ… : <textarea rows="5" cols="100" name="content"></textarea>
  <input type="submit" value="μ—…λ‘œλ“œ GOGO"/>
 
  </form>
 </fieldset>
 <div style="border:1px solid blue; padding:20px">
  νŒŒμΌμ—…λ‘œλ“œμ‹œ formνƒœκ·Έμ˜ methodμ†μ„±μ€λ°˜λ“œμ‹œ postμ—¬μ•Ό ν•˜κ³ ,
  enctype 속성에 multiprt/form-data 라고 λ°˜λ“œμ‹œ λͺ…μ‹œν•΄μ•Ό ν•œλ‹€.
 </div>
</body>
</html>
728x90
LIST