Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find out content length?  RSS feed

 
Venkatesh Rajendran
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to find out the content length of the response object from a JSP page, is it possible?
Here is more in detail, I would like to set content length for a page, so I am using following code in my jsp page,
response.setContentLength(contentLength);
Here I want to specify the actual content length which I have received. Can any one help me to find out the same.
Thanks in advance.
Regards,
Venkat
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!