tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: set-cookie
Date Wed, 26 May 2010 18:14:57 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Subject: Re: set-cookie
> 
> >     Thread.currentThread().dumpStack();
> 
> Or the more traditional:
> 
> new Throwable("Stack Dump").printStackTrace();

And if we look inside java.lang.Thread, we find:

    public static void dumpStack() {
	new Exception("Stack trace").printStackTrace();
    }

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

Mime
View raw message