The problem I am having is that tomcat 3.2.3 seems to (kind of) limit
content length to Integer.MAX_VALUE (2^31-1 or 2GB).
If I want to serve very large objects things do not work so well.
I seems that ServletResponse.SetContentLength(int) is the prefered
manner to sent the content length of a servlet response and that the
default implemtation for the "HEAD" method in HttpServlet also is
limited to the range of int values.
My reading of the HTTP/1.1 spec does not indicate that there are any
limitations to content length in the HTTP protocol.
So my question is: Am I all messed up, or is Tomcat and the servlet
spec/implementation sub-optimal?
David Daney