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
PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fyffe Carl
Sent: Thursday, April 12, 2001 6:22 AM
To: Orion-Interest
Subject: RE: parsePostData
Frank,
Did you figure this problem out? I have been having the same problem and
hope you can shed some light on the subject.
Ernie,
Because
Yes, I figured out that the parsePostData is intended for mime-encoded
multipart forms, not regular HTML forms.
I made myself a helper class to move all the form data into a hashtable. You
have to call this from within the JSP page, but then you can pass the
hashtable anywhere you want.
import
]]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 i
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