Package com.ponxu.run.web

Examples of com.ponxu.run.web.FileUpload


    }
  }

  // 上传
  public void post() {
    FileUpload fileUpload = new FileUpload(request());
    FilePart filePart = fileUpload.getFilePart(FILEDATA_NAME);

    String fileName = filePart.getFileName();
    File f = new File(fileName);
    fileName = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date())
        + f.getName();
View Full Code Here

TOP

Related Classes of com.ponxu.run.web.FileUpload

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.