Apache commons fileupload文件上传实例讲解

");

  if(file1 != null){

  out.println("

");

  out.println("

file1;
");

  out.println("

"+file1.getName()+"");

  out.println("

");

  out.println("

");

  }

  if(file2 != null){

  out.println("

");

  out.println("

file2;
");

  out.println("

"+file2.getName()+"");

  out.println("

");

  out.println("

");

  }

  out.println("

");

  out.println("

description1:
");

  out.println("

");

  out.println(description1);

  out.println("

");

  out.println("

");

  out.println("

");

  out.println("

description2:
");

  out.println("

");

  out.println(description2);

  out.println("

");

  out.println("

");

  out.println("