Fischereit, Jana wrote:
Hi,
I resolved my problem. The problem was that the method request.getInputStream().read() just finish reading the in the server.xml file defined maxHTTPHeaderSize of the inputStream. So I wrote my own method to read the inputsteam and everything works fine.
Besides I
]
Gesendet: Dienstag, 19. April 2011 16:10
An: Tomcat Users List
Betreff: Re: AW: Setting the maxHTTPHeaderSize to 'infinity'
Pid wrote:
> On 4/19/11 12:20 PM, André Warnier wrote:
>> Hi.
>>
>> I will let someone else comment on your code.
>
> I can say that do
Pid wrote:
On 4/19/11 12:20 PM, André Warnier wrote:
Hi.
I will let someone else comment on your code.
I can say that doesn't look like i'd expect it to, per the example code
from the Commons HTTP 3.x or HTTP Client 4.x versions.
(But remember, this is a help forum for Tomcat, which is th
On 4/19/11 12:20 PM, André Warnier wrote:
> Hi.
>
> I will let someone else comment on your code.
I can say that doesn't look like i'd expect it to, per the example code
from the Commons HTTP 3.x or HTTP Client 4.x versions.
> (But remember, this is a help forum for Tomcat, which is the server
Hi.
I will let someone else comment on your code.
(But remember, this is a help forum for Tomcat, which is the server side. It is not
really a forum to help people write Java HTTP cients).
It looks like this is your first try at sending a file to a server.
So let me recommend something :
I w
achricht-
Von: André Warnier [mailto:a...@ice-sa.com]
Gesendet: Dienstag, 19. April 2011 12:28
An: Tomcat Users List
Betreff: Re: Setting the maxHTTPHeaderSize to 'infinity'
Fischereit, Jana wrote:
> Hi,
>
> I would like to send xml-files by using the http-post *request-bo
Fischereit, Jana wrote:
Hi,
I would like to send xml-files by using the http-post *request-body*.
(emphasis added)
But I read that the default maxHTTPHeaderSize is 8kb
max HTTP *Header* Size (emphasis added)
Nothing to do with one another.
-
Hi,
I would like to send xml-files by using the http-post request-body. But I read
that the default maxHTTPHeaderSize is 8kb
(http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation).
So I cannot transfer files of arbitrary size.
Why is there a limit? May problems occu