Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
Users List" Sent: Monday, August 21, 2006 12:49 AM Subject: Re: Parsing keyvalue pairs in POST data 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 sam

Re: Parsing keyvalue pairs in POST data

2006-08-22 Thread Santosh Puranshettiwar
" Sent: Monday, August 21, 2006 12:49 AM Subject: Re: Parsing keyvalue pairs in POST data 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

Re: Parsing keyvalue pairs in POST data

2006-08-21 Thread Martin Gainty
the original message without making a copy. Thank you. - Original Message - From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, August 21, 2006 12:49 AM Subject: Re: Parsing keyvalue pairs in POST data > Thanks alot for

Re: Parsing keyvalue pairs in POST data

2006-08-21 Thread Santosh Puranshettiwar
HttpServletRequest.getInputStream(): Retrieves the body of the request as binary data using a |ServletInputStream| . I used the aforementioned method to read the message body of the HTTP request.The data extra

Re: Parsing keyvalue pairs in POST data

2006-08-21 Thread Mark Thomas
Santosh Puranshettiwar wrote: > Nope. No such attribute in the . > Would any default value take effect then? If so what is it? Anything > nearby 2016? Default for TC5.5.x is 2*1024*1024 (2MB) Time to use the request dumper valve? Be careful since it will mess with character encoding. Mark

Re: Parsing keyvalue pairs in POST data

2006-08-20 Thread Santosh Puranshettiwar
Nope. No such attribute in the . Would any default value take effect then? If so what is it? Anything nearby 2016? Thanks, Santosh. Mark Thomas wrote: Santosh Puranshettiwar wrote: Well, there's another problem. HttpServletRequest.getParameter() is unable to parse the key-value pairs in th

Re: Parsing keyvalue pairs in POST data

2006-08-20 Thread Santosh Puranshettiwar
ender 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" Sent: Saturday, August 19, 2006 8:03 AM Subject: Re: Pars

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Martin Gainty
javax.servlet.http.HTTPServletResponse.setIntHeader("Content-Length",4096000); Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email me

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Mark Thomas
Santosh Puranshettiwar wrote: > 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. maxPostSize on the connector? Mark -

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Martin Gainty
email and destroy the original message without making a copy. Thank you. - Original Message - From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, August 19, 2006 8:03 AM Subject: Re: Parsing keyvalue pairs in POST data

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
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=applica

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
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 a

Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
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.