Documentation says
forward method should be called before the response has been committed to the client (before response body output has been flushed). If the response already has been committed, this method throws an
IllegalStateException. Uncommitted output in the response buffer is automatically cleared before the forward.
But in
Tomcat server i am not getting any IllegalStateException ,eventhough i called forward() method after out.close()
why it is so ?
regards,
Sam