Walid Abd Elsalam wrote:Can you try it again after replacing OutputStream with ServletOutputStream. I'm just wondering if it would make a difference as the api documentatio for OutuptStream.flush() says it does nothing.
Doesn't matter weather OutputStream or ServletOutputStream right?Because spec says
forward 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.
I wonder how my code is working!!!
Thanks
Veena