Thanks alot for your reply Martin.
Its just a simple setup. I am using Tomcat 4.1 listening on port 80 (OS:
Windows - if that matters). Its not coupled with Apache.
Why would the same data when sent from a browser would parse well while
not from a J2ME application? I'm baffled.
Santosh.
Martin Gainty wrote:
I assume you are front-ending with Apache..?
I would use HTTP 1.1 instead of (HTTP 1.0 where length must be specified
beforehand)
Here are some keyword values in httpd.conf that will help you overcome your
current limitations
You can adjust the limit on the size of any field via
LimitRequestFieldSize
You can adjust the limit on the size of the request line via
LimitRequestLine
You can adjust the limit on the size of the HTTP body sent via text/xml
LimitXMLRequestBody
documenation available at
http://httpd.apache.org/docs/2.0/mod/core.html
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, August 19, 2006 8:03 AM
Subject: Re: Parsing keyvalue pairs in POST data
Well, there's another problem.
HttpServletRequest.getParameter() is unable to parse the key-value pairs
in the http message body if the the total content-length is greater that
2016.
Any ideas? Please.
Santosh.
Santosh Puranshettiwar wrote:
Managed to digg it.
Had to set Content-Type=application/x-www-form-urlencoded
Santosh Puranshettiwar wrote:
Hello,
How does tomcat parse the key-value pairs sent in a Http Request as
POST data? I am unable to read the parameters using the
HttpServletRequest.getParameter() method. Parameters are being sent
by a J2ME application.
Tell me if more details are required.
Thanks alot.
Santosh.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]