Hi Sreeni,

You are specifying the encoding type of POST method as multipart. So in second.jsp you 
need to use file upload API which provides method to extract request parameters from a 
multipart request.

-----Original Message-----
From: K Sreenivasulu , Gurgaon [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 28, 2002 10:31 PM
To: [EMAIL PROTECTED]
Subject: Input parameters in JSp


Hi All,

When I set the form tag in my JSP page as below, I am not able to get the
input parameter values in servlet through the Request object.

< form method = "post" ENCTYPE = "multipart/formdata" ACTION = "second.jsp"
>
......................
.................
</form>

If I remove the encoding type I am able to get the values in the second.jsp.

Can anyone suggest any solution for this?

Thanks in Advance.

Regards,
K.Sreenivasulu,
Software Engineer
HCL Technologies
No : 3, Phase-1, Udyog Vihar
Gurgaon --HR.
INDIA.
Ph:6439900-05 Ext. 2245

___________________________________________________________
Disclaimer

This document is intended for transmission to the named recipient only.  If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.
___________________________________________________________

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