0 Replies Latest reply on Sep 15, 2004 8:45 AM by simon_the_sorcerer

    Problem with forms containing files and select boxes

    simon_the_sorcerer

      Hi,

      I have some trouble submitting binary data (via <input type=file>) and select boxes that allow multiple choices in the same form. In order to properly tramsmit a file, I need to set the enctype of the form to "multipart/form-data", but as soon as I do that, Page.getParameterValues() only returns one entry (the last one) of the select box even though several have been selected, i.e. it acts like Page.getParameter().
      Using the default enctype (and hence not transmitting the file), Page.getParameterValues() returns the expected array of strings.
      Am I doing anything wrong here or is that a Nukes/Servlet API specific problem?

      Thanks in advance for your help!