File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "RequestDispatcher - Response.isCommitted() " Watch "RequestDispatcher - Response.isCommitted() " New topic

RequestDispatcher - Response.isCommitted()

Lakshmanakumar Loganathan

Joined: Jan 29, 2006
Posts: 23

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,
I agree. Here's the link:
subject: RequestDispatcher - Response.isCommitted()
It's not a secret anymore!