openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1818428 - /openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java
Date Sat, 16 Dec 2017 15:48:27 GMT
Author: struberg
Date: Sat Dec 16 15:48:27 2017
New Revision: 1818428

URL: http://svn.apache.org/viewvc?rev=1818428&view=rev
Log:
MEECROWAVE-86 fix mapping for JspServlet

txs to Ravisankar Challa for the report and patch!

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java

Modified: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java?rev=1818428&r1=1818427&r2=1818428&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/TomcatAutoInitializer.java
Sat Dec 16 15:48:27 2017
@@ -50,8 +50,8 @@ public class TomcatAutoInitializer imple
                 jspDef.setInitParameter("xpoweredBy", "false");
                 jspDef.setInitParameter("development", "false");
                 jspDef.setLoadOnStartup(3);
-                def.addMapping("*.jsp");
-                def.addMapping("*.jspx");
+                jspDef.addMapping("*.jsp");
+                jspDef.addMapping("*.jspx");
             }
         } catch (final NoClassDefFoundError | ClassNotFoundException e) {
             // not there, skip



Mime
View raw message