This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
in the catch block and you will see the exception in the logs.[/qb]<hr></blockquote>
As you said, I did catch the IllegalStateException with the try-catch block. But when I removed the try-catch block, the error-page were not be displayed either.
What is the mechanism about the out.flush() and IllegalStateException? May I suppose that once the response was committed to the browser, it will be ignored whether the Exception was threw out, and error-page would never appear? [ July 20, 2006: Message edited by: Wei GENG ]