[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to get the number of bytes sent by the servlet respo
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=viewtopic&p=3913840#3913840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913840 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: how to get the number of bytes sent by the servlet respo
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 calculated. I want to know if there is an api in tomcat that can help me get the bytes. Thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913739#3913739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913739 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - how to get the number of bytes sent by the servlet response
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, Ashish View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913622#3913622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913622 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user