Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-121

File upload is not getting part name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta21
    • None
    • None
    • None

    Description

      file-upload sample allows to upload a file and writes it to /tmp
      directory as:

      for (Part part : request.getParts()) {
      fileName = part.getSubmittedFileName();
      part.write(fileName);
      }

      part.write() is not throwing any exception but not even writing the file.

      Complete sample is at:

      https://github.com/arun-gupta/javaee7-samples/tree/master/servlet/file-upload

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            arungupta_jira Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: