摘要:
以下代码本人修改加入原先的Servlet中已经亲测成功。import java.io.InputStreamReader; String TEXT1= null; String TEXT2= null;
DiskFileUpload upload=new DiskFileUpload();
try { List uploadlist=upload.parseRequest(request);
Iterator iter=uploadlist.iterator();
while(iter.hasNext())
{
FileItem item=(FileItem)iter.next(); /... 阅读全文