On 0, tek1 <[EMAIL PROTECTED]> wrote: > not sure if the problems are connected, but i ran into a bug with filters > not setting the content-length of the response correctly. please check the > archives for my post entitled "RE: anyone using filter to set content > length of response?". > > it would require digging into the tomcat code, but i wonder if the > connectors make use of filters and the problems are connected? > > i ran my application in jetty and the response's content length was set > correctly. > > can you try running your application in tomcat4.1.10 (latest stable) or > another servlet container (i.e. jetty, jrun, etc.) to see if the problem > still exists?
It runs correctly in jboss-jetty. I am running tomcat standalone,
though.
I will try 4.1.10 this afternoon sometime.
> my application was dealing with a mobile client, which cannot determine for
> itself what the incoming content-length is and thus requires the
> content-length to be explicitly set on the server. although this problem
> existed on the mobile client, it did not happen when i accessed the
> application using netscape4.79, which leads me to believe that some
> browsers are capable of automatically determining the content-length, even
> if it is not set explicitly on the server...
I am observice Netscape 4.x on most platforms not correctly
determining content-length from the body, but IE 5 and lynx doing so
correctly.
Thanks
Tom
--
Tom Cook
Information Technology Services, The University of Adelaide
"Beware of computer programmers that carry screwdrivers."
- Leonard Brandwein
Get my GPG public key:
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au
msg65555/pgp00000.pgp
Description: PGP signature
