Re: My jsp file interrupt when it met the exception

2005-02-22 Thread Nap
Sorry for my description's not clear.I want to output the simple exception 
information to the user and the detail to my log.But sometimes when I do not 
enlarge the buffer(1024kb is too large but it ensure the buffer is 
sufficient),my jsp program show the exception while the other time it do not.It 
simply stopped.I do not want it to do so and want it to continue running until 
it output the detail both to the user and the log.
>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"... :-?



My jsp file interrupt when it met the exception

2005-02-22 Thread Nap
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 "<[EMAIL 
PROTECTED] buffer="1024kb" autoFlush="false"%>" it output the message.How can I 
avoid the enlarge the buffer and can let the exception message appear?