Frank,

Is one of the form fields an input type="file"? If not, why not just use
request.getParameter("parameterName")? Could you give a little more info
about what you are trying to do?

- Ernie

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank LaRosa
Sent: Monday, April 09, 2001 12:51 AM
To: Orion-Interest
Subject: parsePostData


I'm having some trouble parsing form data in a JSP page.

I'm using this code:

Hashtable ht = HttpUtils.parsePostData( request.getContentLength(),
request.getInputStream() );

The result is always a Hashtable with a size of zero, even though there
should be data in the form.

I posted the form with <form method="POST" action="myPage.jsp">. Can anyone
spot what I'm doing wrong? Thanks.


Reply via email to