https://issues.apache.org/bugzilla/show_bug.cgi?id=33715
David Lefkovitz <d.lefkov...@temple.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.lefkov...@temple.edu --- Comment #4 from David Lefkovitz <d.lefkov...@temple.edu> 2009-02-08 15:36:57 PST --- (In reply to comment #0) > When JSP page uses the isErrorPage="true" directive the following code is > added > to the servlet: > Throwable exception = > org.apache.jasper.runtime.JspRuntimeLibrary.getThrowable(request); > if (exception != null) { > response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); > } > This cause the response to have a status code of 500, Internal Server Error. > When Internet Explorer (tested on 5.5 on Windows 2000 SP4) receives a 500 > stauts it displays it's own error page and does not display the correct JSP > error page. This causes the JSP isErrorPage="true" directive to be useless > since the actual page cannot be viewed in Internet Explorer. > To workaround, I created an error page that does not use the > isErrorPage="true" > directive rather declares the exception and gets it from the session inside > the > page body. The JSP specification does not specify that a 500 status should > be > returned in the event of request-time errors using JSP error pages. Can you give a sample of the code that you used in the workaround? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org