Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 45917 invoked from network); 7 Jul 2000 21:00:55 -0000 Received: from mail2.rdc2.bc.home.com (24.2.10.85) by locus.apache.org with SMTP; 7 Jul 2000 21:00:55 -0000 Received: from cr699264a ([24.113.17.57]) by mail2.rdc2.bc.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20000707210050.TOY9731.mail2.rdc2.bc.home.com@cr699264a> for ; Fri, 7 Jul 2000 14:00:50 -0700 From: "Rob S." To: Subject: RE: HELP: Stack trace in browser - how? Date: Fri, 7 Jul 2000 14:02:56 -0700 Message-ID: <001a01bfe856$b99f0060$39117118@rct1.bc.wave.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Eric, Actually, I was thinking more about Tomcat's own exceptions, like during JSP compilation? Sorry I wasn't more clear in my original question. Thanks very much for the reply ;) - r > -----Original Message----- > From: Eric H. [mailto:eharashe@usc.edu] > Sent: July 7, 2000 1:35 PM > To: tomcat-user@jakarta.apache.org > Subject: Re: HELP: Stack trace in browser - how? > > > To print a stacktrace from a jsp, I'm using: > > Stack Trace:
> <% > CharArrayWriter c=new CharArrayWriter(); > PrintWriter e=new PrintWriter(c); > exception.printStackTrace(e); > e.flush(); > %> > <%=c.toString()%> > > > Note that exception.printStackTrace() prints to standard error... probably > not to your web page unless you found a way to redirect it... > > On Fri, 7 Jul 2000, Rob S. wrote: > > > Hi all, > > > > FAQ-o-matic is down =( Since moving from 3.1 -> 3.2dev, I've lost stack > > traces in the browser. I couldn't see where this was en/disabled. Any > > tips? > > > > - r > > > > > > > > -Eric Harashevsky >