what happens when we call sendError/setStatus after we called flush() on JSPWrite???
will flush() commits the response?? [This message has been edited by Ernest Lee (edited December 04, 2001).]
Joined: Dec 03, 2001
When u call flush() response is commited so it is now too late to change status code or header fields of response.Well sendError/sendRedirect at this state will through illegalStateException where as setStatus/setHeader calls will simply be ignored