This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 ]