org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
if the app is running at my customer's server and i do not have access to log files, nobody's going to report anything.
Bear Bibeault wrote:So what would you like it to do? Phone you?
Seriously, what are you expecting besides logging and displaying the error?
David Newton wrote: You already said you were deliberately doing something wrong--why would you deploy that, then?
Maciej Drodel wrote:i expect it to show the error on the screen. in the browser. i cannot expect anyone just to track my logs.
David Newton wrote:
Maciej Drodel wrote:i expect it to show the error on the screen. in the browser. i cannot expect anyone just to track my logs.
That's not a reasonable assumption, though--most people use IE, and IE has "friendly error pages" turned on by default, making many errors disappear, quite outside of your control.
Nag gupta wrote:Keep the out.println( ) and flush( ) statements in a try block and catch the IllegalStateException. The exception will be caught.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |