<%
// 1. First
Http://jakarta.apache.org/commons/index.html Download the JAR package of FileUpload and IO and put it in web-inf / lib;
// 2. As follows:
%>
<
% @ Page ContentType = "Text / HTML; Charset = GBK"%>
<
% @ page import = "java.io. *, java.util. *, org.apache.commons.fileupload. *, org.apache.commons.fileUpload.disk. *, org.apache.commons.fileupload.Servlet. * "%>
Upload Title>
hEAD>
Jakarta FileUpload Test h1>