diff for jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java. This got line
wrapped :( I did this because when I put in my <jsp:useBean> a mistyped class name, I
would just get an error page saying:
org.apache.jasper.JasperException: <classname>
... which wasn't too helpful. Unfortunately at the moment I can't compile jasper and see
if this would have fixed my problem. JspServletWrapper.java might have to be changed as well.
*** PageContextImpl.java.orig Tue Dec 24 22:08:27 2002
--- PageContextImpl.java Tue Dec 24 22:15:17 2002
***************
*** 628,634 ****
if (t instanceof JspException) {
Throwable rootCause = ((JspException)t).getRootCause();
if (rootCause != null) {
! throw new ServletException(t.getMessage(), rootCause);
} else {
throw new ServletException(t);
}
--- 628,636 ----
if (t instanceof JspException) {
Throwable rootCause = ((JspException)t).getRootCause();
if (rootCause != null) {
! //If we just throw new ServletException(t.getMessage() the message
! //has no context and just confuses the user.
! throw new ServletException("Caught "+t.getClass()+":
"+t.getMessage(), rootCause);
} else {
throw new ServletException(t);
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>