I get the following message:
Unhandled error! You might want to consider having an error page to
report such errors more gracefully
com.sun.jsp.JspException: Compilation failed
at javax.servlet.ServletException.(ServletException.java:49)
at com.sun.jsp.JspException.(JspException.java:29)
at com.sun.jsp.compiler.Main.compile(Main.java:349)
at com.sun.jsp.runtime.JspLoader.compile(JspLoader.java:86)
at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:217)
etc etc
_____________________________________________
my main jsp is refering to an error page as follows:
<%@ page language="java" errorPage="myerrors.jsp" %>
the myerrors.jsp looks like:
<%@ page language="java" contentType="text/html" %>
<%@ page isErrorPage="true" %>
<html>
<head>
<title>Untitled</title>
</head>
<body>
test error page
error message is:<br>
<I><%= exception.getMessage() %></i>
</body>
</html>
any ideas on this?
What I know is that if you get JSP compile error, it is not routed to
ErrorPage. You get comiple dump.
I'm able to get the error page to display but the exception object is
null so I can't do any processing on the error.
Pete
Could you please tell me in which config file the error page is
specified? I was looking for it but could not find any matching entry.
Tnx.
Ingo.
In article <3A77463F...@goodyear.com>,
Sent via Deja.com
http://www.deja.com/
Upon looking more at the error in your original question, it looks like your
error page JSP did not compile correctly. Could there be another error
somewhere on the JSP page that is causing the problem?