Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes RequestDispatcher - Response.isCommitted() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "RequestDispatcher - Response.isCommitted() " Watch "RequestDispatcher - Response.isCommitted() " New topic
Author

RequestDispatcher - Response.isCommitted()

Lakshmanakumar Loganathan
Greenhorn

Joined: Jan 29, 2006
Posts: 23
Hi,

Calling RequestDispatcher.include() calls response.flushBuffer(). But, when i checked whether the response is commited after calling include. Its returing false. why?

Servlet 1:





Servlet 2:



It does no print response commited .

Thanks in Advance,
Lakshman
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: RequestDispatcher - Response.isCommitted()
 
Similar Threads
resetBuffer() OR flushBuffer()
How servlet response is commited?
How servlet response is commited?
Writing to the output after forward
response commited?