you won't be able to access these properties the normal way if
you have the form attribute ENCTYPE="multipart/form-data" set.

You must use your 3rd party upload component's methods to do that: check
the documentation that comes with it - there should be a method that allows
you to access the values in the other form fields.

Cheers

Phil

-----Original Message-----
From: Luis Cornide Arce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 2:56 PM
To: [EMAIL PROTECTED]
Subject: getting parameters from a multipart/form-data


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

===========================================================================
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

Reply via email to