tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: HELP: Stack trace in browser - how?
Date Fri, 07 Jul 2000 21:02:56 GMT
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:<BR><CODE>
> <%
> CharArrayWriter c=new CharArrayWriter();
> PrintWriter e=new PrintWriter(c);
> exception.printStackTrace(e);
> e.flush();
> %>
> <%=c.toString()%>
> </CODE>
>
> 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
>


Mime
View raw message