You can add the following entry to your deployment descriptor (web.xml) <error-page> <error-code>500</error-code> <location>/error500.jsp</location> </error-page>
You can display an end user friendly message in the error500.jsp instead of the Error stacktrace. Hope this helps Cheers ------------------------------------------------------------------ Anurag Kapur Associate - Technology, Sapient Corporation India. http://www.linkedin.com/in/anuragkapur ------------------------------------------------------------------ On Sat, Mar 7, 2009 at 11:16 AM, xlinuks <xlin...@yahoo.com> wrote: > > Hi folks > I use Tomcat 6 and NetBeans 6.5 (on Ubuntu 8.10) and I'd like tomcat to > output the error messages to somewhere else instead of the browser, for > example to the NetBeans output console. > > Here's a screenshot of the error output to the browser which I'd like > redirected to somewhere else: > http://www.nabble.com/file/p22386610/tomcat.jpg > -- > View this message in context: > http://www.nabble.com/Tomcat---don%27t-output-errors-to-browser-tp22386610p22386610.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >