You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nap <na...@hotmail.com> on 2005/02/22 13:58:50 UTC

My jsp file interrupt when it met the exception

When my jsp file met the exception,sometimes it stopped outputed the exception message,but the other time it only stopped.Only when I write "<%@page buffer="1024kb" autoFlush="false"%>" it output the message.How can I avoid the enlarge the buffer and can let the exception message appear?

Re: My jsp file interrupt when it met the exception

Posted by Gaurav Vaish <ga...@gmail.com>.
> When my jsp file met the exception,sometimes it stopped outputed the exception 

Hi Nap,

   Why do you want to output the full exception on the browser? Why
not just log it at the server-side and present the user (read:
browser) with a simple error information.

   btw, what's the size of exception (error report) that you are
getting? I don't think it should be so huge that you need to buffer
for "1024kb"... :-?


-- 
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org