what are the different ways in which the response can be commited in servlets ??
one method that does this is the flushBuffer() method
Can someone state the other cases in which the response is comitted .... or some logic or rule which helps us predict this ??
Originally posted by sid sree:
Ya did know of that method ... but the question was from a exam point of view ..what if we are given a code sniplet and asked when the response will be committed ??
So if we could get some rule or logic as to when the response is it would be usefull
I think even when you set some headers to the response (like setContentType etc) its like the response is committed. Is that right?