> But content-length is NOT a required header for HTTP protocol, is it?
> If the program is relying on it, then it is broken and should be
> fixed.
> 
> The other alternative is to generate your entire page as a string, get
> the string's length() and print that as your content-length header.
> 
> Quite a lame thing to do on every page, if you ask me.

I agree 100%. It's not that the Content-header is required
by the JSPs but that the guy writing the mini-browser to
fetch (scrape) the results of a query from my side apparently
needs to know the length of the document so he can properly
load it into a variable. 

Thanks again for the help guys.

It's all politics.

Jim

Reply via email to