• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set content -length

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens when we set the content length??? does anything different happens??
Thanks, in advance.
 
Karin Paola Illuminate
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read that it has something to do with the problem "data truncation": Web client times out before the Servlet or JSP complets the response. A solution is to call the HttpServletResponse setContentLength method - if you are certain you can provide an accurate value.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic