Hi,

I have a JSP with a form with 2 buttons, on the click of a any of the buttons
I submit the form using POST, in the action I call this page again. I check
which was the button pressed, and accordingly I forward to respective pages.
In the forwarded pages I want all the fields passed from the first form. So
I use HttpUtils: parsePostData(int, ServletInputStream) to get a hashtable.
For the ServletInputStream parameter I pass request.getInputStream() and for
the int parameter I use request.getContentLength().

But somehow the hashtable always is null !!!

Could anyone help me please !

Thanx
Masaoud

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to