Re: InputBuffer and Posting Data

2006-03-29 Thread Jon Wingfield
List Subject: Re: InputBuffer and Posting Data Look for the value of maxHttpHeaderSize in your server.xml in the CATALINA_HOME/conf diretory. I had a similar problem. -Ursprüngliche Nachricht- Von: Tomcat Users List users@tomcat.apache.org Gesendet: 28.03.06 16:24:20 An: Tomcat Users

Re: InputBuffer and Posting Data

2006-03-28 Thread Jon Wingfield
What is buf.length? Is it the actual length of the data you want to post or is it 8k? The data you receive on the Tomcat side may be truncated by the Connector if the body data is longer than the value set for the Content-Length header. HTH, Jon Vikram Goyal wrote: Hi all, I am trying

Re: InputBuffer and Posting Data

2006-03-28 Thread Lothar Krenzien
: InputBuffer and Posting Data What is buf.length? Is it the actual length of the data you want to post or is it 8k? The data you receive on the Tomcat side may be truncated by the Connector if the body data is longer than the value set for the Content-Length header. HTH, Jon Vikram

RE: InputBuffer and Posting Data

2006-03-28 Thread Vikram Goyal
] Sent: Wednesday, 29 March 2006 12:25 AM To: Tomcat Users List Subject: Re: InputBuffer and Posting Data What is buf.length? Is it the actual length of the data you want to post or is it 8k? The data you receive on the Tomcat side may be truncated by the Connector if the body data is longer than

RE: InputBuffer and Posting Data

2006-03-27 Thread Farrow, Marc
This would seem like a Java question and not a Tomcat question. -Original Message- From: Vikram Goyal [mailto:[EMAIL PROTECTED] Sent: Monday, March 27, 2006 12:47 AM To: users@tomcat.apache.org Subject: InputBuffer and Posting Data Hi all, I am trying to post some data via an applet

Re: InputBuffer and Posting Data

2006-03-27 Thread Mike Sabroff
This IS a java question. If post.Conn is a URLConnection you opened from the applet (looks that way) then you need to call setDoInput() and setDoOutput() methods (basically read/write) to make it a post. There is also a setUseCaches() (true or false) to control caching, default is true

RE: InputBuffer and Posting Data

2006-03-27 Thread Vikram Goyal
PROTECTED] Sent: Tuesday, 28 March 2006 1:09 AM To: Tomcat Users List Subject: Re: InputBuffer and Posting Data This IS a java question. If post.Conn is a URLConnection you opened from the applet (looks that way) then you need to call setDoInput() and setDoOutput() methods (basically read/write

InputBuffer and Posting Data

2006-03-26 Thread Vikram Goyal
Hi all, I am trying to post some data via an applet to a JSP running on Tomcat 5.5.16. In my applet code, I am setting the following: postConn.setRequestMethod(POST); postConn.setRequestProperty(Content-Length, (buf.length) + ); postConn.setRequestProperty(Content-Type,