T
tfrawley
I am using Tomcat 6.0.18 and JDK 1.6 u10.
I have tested this simple JSP page:
<%@ page language = "java" %>
<hr>
My nice little JSP web page.
<hr>
<%
try{
wtf="this doesn't work!";
}catch (Exception e){
out.println(e.getMessage());
} finally {
} // try
%>
I expected to see the horizontal rule follows by the "My nice little
JSP web page" another horizontal rule and then the error text from the
out.println(e.getMessage());
What I do get is a Tomcat error page instead. If possible I would
like Tomcat to process the entire web page and skip over errors that I
place in try blocks. Is that possible?
I have tested this simple JSP page:
<%@ page language = "java" %>
<hr>
My nice little JSP web page.
<hr>
<%
try{
wtf="this doesn't work!";
}catch (Exception e){
out.println(e.getMessage());
} finally {
} // try
%>
I expected to see the horizontal rule follows by the "My nice little
JSP web page" another horizontal rule and then the error text from the
out.println(e.getMessage());
What I do get is a Tomcat error page instead. If possible I would
like Tomcat to process the entire web page and skip over errors that I
place in try blocks. Is that possible?