"Loganathan, Kamalesh" wrote:
> I would like to capture the 'PrintStackTrace' from the ServletException and
> print it to the browser.  This is easy to implement in the Servlet. Anybody
> know how to implement this in a JSP page.


<%@ page isErrorPage="true" %>
<HTML>
<BODY>
<PRE>
<% exception.printStackTrace(new PrintWriter(out)); %>
</PRE>
</BODY>
</HTML>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to