Ordinarily, the request processing class that you're using to pull out the file data will also provide analogs to the request.getParameter() methods. Basically, you can use one or the other - not both.
>From: Luis Cornide Arce <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: getting parameters from a multipart/form-data >Date: Thu, 31 Jan 2002 15:55:51 +0100 > >Hi List! > >I have a jsp page that uploads a file to the server, but I also have >other parameters (textfields, selects, etc.). When I tried to read that >parameters through the method getParameter of the class Request it >returns null. After that, I have read that it's imposible to do that >with the encoding "multipart/form-data", how could I get the other >parameters of the form? > >Thanks in advance, > >Luis > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > >http://archives.java.sun.com/jsp-interest.html >http://java.sun.com/products/jsp/faq.html >http://www.esperanto.org.nz/jsp/jspfaq.jsp >http://www.jguru.com/faq/index.jsp >http://www.jspinsider.com --------------------------------------------------- Joseph B. Ottinger [EMAIL PROTECTED] http://adjacency.org IT Consultant _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
