tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1385336 - /tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java
Date Sun, 16 Sep 2012 18:15:21 GMT
Author: markt
Date: Sun Sep 16 18:15:21 2012
New Revision: 1385336

URL: http://svn.apache.org/viewvc?rev=1385336&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53863
Ensure implicit Servlets (JSP, default) are marked as override-able when using embedded mode.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java?rev=1385336&r1=1385335&r2=1385336&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java Sun Sep 16 18:15:21 2012
@@ -716,12 +716,14 @@ public class Tomcat {
         Wrapper servlet = addServlet(
                 ctx, "default", "org.apache.catalina.servlets.DefaultServlet");
         servlet.setLoadOnStartup(1);
+        servlet.setOverridable(true);
 
         // JSP servlet (by class name - to avoid loading all deps)
         servlet = addServlet(
                 ctx, "jsp", "org.apache.jasper.servlet.JspServlet");
         servlet.addInitParameter("fork", "false");
         servlet.setLoadOnStartup(3);
+        servlet.setOverridable(true);
 
         // Servlet mappings
         ctx.addServletMapping("/", "default");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message