glassfish
  1. glassfish
  2. GLASSFISH-16740

Unable to get "multipart/form-data" request parameters by HttpServletRequest#getParameter

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.2_b15
    • Component/s: web_container
    • Labels:
      None

      Description

      The Java Servlet 3.0 Specification states:

      For parts with form-data as the Content-Disposition, but without a filename, the string value of the part will also be available via the getParameter / getParameterValues methods on HttpServletRequest, using the name of the part.

      But in GlassFish 3.1 I'm unable access non-file multipart/form-data parameters that way. Of course, I can get parameters using getParts, but a JSF implementation rely on ordinary HttpServletRequest parameters map and therefore currently can't process multipart/form-data postback requests.

      1. 20111214-GLASSFISH-16740.patch
        2 kB
        kchung

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              kchung
              Reporter:
              dened
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: