分类: 系统运维
2012-01-28 02:54:47
进行文件上传时,必须将表单的method属性设为post,将enctype属性设为multipart/form-data
fileUpload.jsp
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
fileUploadResult.jsp
<%@ page language="java" import="java.util.*,java.io.*" pageEncoding="gbk"%>