Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5291

Can not get multipart data sent from html form.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.0.0
    • 3.0-M1
    • deployment
    • Security Level: public (Regular issues)
    • None
    • OS:win xp sp2
      Server:Geronimo 3.0 2010.05.06 build
      JDK:1.6

    Description

      I tried the file upload example.But it fails to output the content of the uploaded file.
      After debugging this example,I found that when using getPart() of HttpServletRequest ,then we expect to get multipart data sent from html form.
      Part p = ((HttpServletRequest) request).getPart("testFile");
      But actually the object p is null,the multipart data is not caught.

      Attachments

        Activity

          People

            xuhaihong Haihong Xu
            jessy Lu Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: