[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to get the number of bytes sent by the servlet respo

2005-12-21 Thread ashisha
Hi NigelWhite, I have a complex object and not s String. I do not want to count byte by byte, as that will take time.. Hence, wondering if there is a readymade api in tomcat that i can access. Thanks for all your help... View the original post : http://www.jboss.com/index.html?module=bb&op=v

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to get the number of bytes sent by the servlet respo

2005-12-21 Thread ashisha
Thanks for the response NigelWhite, Sorry, I forgot to mention the following: 1. I have just one servlet 2. I do not want to go byte by byte in the stream, this will slow down my response I see in the status page of the tomcat, the number of bytes in request and response. Not sure how that is

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - how to get the number of bytes sent by the servlet response

2005-12-20 Thread ashisha
Hi, I want to know how many bytes my servlet reponse has sent back to the client. My client and server exachange objects using object input / output streams. Is there an api that can give me the bytes the servlet engine / web server has sent back to the client in a request? Thanks in advance,