Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java Micro Edition
Setting Content-Length in servlet
posted 11 years ago
My midlet communicates with a
. When I set the Content-Length header in the servlet response, the midlet occurs much larger delays in getting the data from the servlet.
Has anyone else had found this and know why it is? Is the norm just to not bother setting Content-Length?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
when to use setContentLength()
HttpConnection and POST
Sending a photo through a Servlet.
Not showing up pdf
Problem with InputStream.read(bytes)