Currently error handling routine prints complete stack, is there a way to show it in more friendly way that is meaningful. Certainly what is shown by Java when the error happens is a long text that looks garbage to users. I like to show only a few lines that make sense for the error from the stack. Any ideas?
That complete stack is the default servlet engine's output. If, like Ben says, you catch the exception in your own code, you can substitute your own handling. If the output has not already been committed, your error page can look very clean - if some output has already been sent you will get a mess. Bill