Hello everyone, is there any way to get the length of the HTML content that is generated by the org.apache.ecs Document.output(PrintWriter) method so that I can use it to set the HttpServletResponse.setContentLength() method?
I tried using the string.length from the toString method but get a java.lang.IllegalArgumentException: Attempted to write longer than Content-Length. I am experiencing some client abort issues in my web app and resolved many of them by setting the content length for images whose length is known. Any pointers will be appreciated. Regards Martin Kultermann eStar Communications Office: +1 (312) 275-0294 Cell: +1 (847) 372-2381 Fax: +1 (312) 275-0298 Email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
