code072.jsp
1<%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3<!DOCTYPE html> 4<html> 5<head> 6<meta charset="UTF-8"> 7<title>文件上传</title> 8</head> 9<body> 10<form action="code073" enctype="multipart/form-data" method="post"> 11 选择文件<input type="file" name="file1" id="file1"> 12 <input type="submit" name="upload" value="上传"> 13</form> 14</body> 15</html>