Remove code testing for bug 37326 showed was not required.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 4 Aug 2007 18:13:40 +0000 (18:13 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 4 Aug 2007 18:13:40 +0000 (18:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@562752 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/servlet/JspServletWrapper.java

index 99a4397..48db423 100644 (file)
@@ -333,25 +333,6 @@ public class JspServletWrapper {
                 return;
             }
 
-        } catch (FileNotFoundException ex) {
-            ctxt.incrementRemoved();
-            String includeRequestUri = (String)
-                request.getAttribute("javax.servlet.include.request_uri");
-            if (includeRequestUri != null) {
-                // This file was included. Throw an exception as
-                // a response.sendError() will be ignored by the
-                // servlet engine.
-                throw new ServletException(ex);
-            } else {
-                try {
-                    response.sendError(HttpServletResponse.SC_NOT_FOUND, 
-                                      ex.getMessage());
-                } catch (IllegalStateException ise) {
-                    log.error(Localizer.getMessage("jsp.error.file.not.found",
-                           ex.getMessage()),
-                  ex);
-                }
-            }
         } catch (ServletException ex) {
             if (options.getDevelopment()) {
                 throw handleJspException(ex);