Project: Tomcat
Bug 43453 ClassCastException at org.apache.catalina.core.StandardContext.findStatusPage(int)
Reported: 2007-09-23 13:50:20 | Status: resolved fixed

StandardContext.java reads public String findStatusPage(int status) { return ((String) statusPages.get(new Integer(status))); } This is wrong and it should be public String findStatusPage(int status) { return ((ErrorPage) statusPages.get(new Integer(status))).getLocation(); } Regards, lg

Files changed in fix:
java/org/apache/catalina/core/StandardContext.java