There are a couple of books on Servlets out there. I forget all the
names..but one explains how to read in parameters from a multi-part/formdata
post. When you change the way the post is going...request.getParameter() no
longer works. Therefore, you will have to manually (in code) extract the
parameters in say..a file upload servlet, and then put them BACK into the
request before forwarding on. However..I am not sure if you can forward on
to a resource using text/html AFTER your servlet gets the
multi-part/formdata post. I think you'll have to do a response.sendRedirect
in this case..so that you can set the headers in the response back to
text/html, which can then go to the browser and BACK to the server using
text/html.


> -----Original Message-----
> From: Muhammad Asim Ajmal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 29, 2000 11:38 PM
> To: [EMAIL PROTECTED]
> Subject: problem of passing the request parameters
>
>
>  Hi all.
>
> Currently I'm facing the problem of passing the request parameters
> to the next form. When I use encrypt multipart/formdata in
> the form tag
> the images are properly uploaded but the request parameters are not
> passed to the next page by submitting the data.
>
> Thank you in anticipation for sparing your time.
>
> From
>      : Shuwaz.
>
> ==============================================================
> =============
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to