By default tomcat is set to verbose compiling..
So you should have error dump in catalina.out if JSP failed to compile.
If you really wanna show this stack trace on the browser screen you can
set error JSP page
and dump it there.
eg.
in web.xml
<error-page>
<error-code>500</error-code>
<location>/printStackTrace.jsp</location>
</error-page>
in /printStackTrace.jsp
<%@ page isErrorPage="true" %>
<html>
<body>
Server Error<br>
<%
exception.printStackTrace(new java.io.PrintWriter(out));
%>
</body>
</html>
in JSP's which needs to be traced
<%@ page errorPage="printStackTrace.jsp"%>
<html>
<body>
What's happening here , hmmm?
<%
int x = 1/0;
%>
</body>
</html>
In its previous incarnation on JspWiki, this page was last edited on Feb 9, 2007 10:11:27 AM by 61.145.233.118
Other known authors include :