Simplify mapping for jsp servlet in the default web.xml.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Aug 2011 09:59:44 +0000 (09:59 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 1 Aug 2011 09:59:44 +0000 (09:59 +0000)
Multiple url-pattern values in the same servlet-mapping are supported since Servlet 2.5.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1152722 13f79535-47bb-0310-9956-ffa450edef68

conf/web.xml
webapps/docs/changelog.xml

index c1b9190..0818791 100644 (file)
     <servlet-mapping>
         <servlet-name>jsp</servlet-name>
         <url-pattern>*.jsp</url-pattern>
-    </servlet-mapping>
-
-    <servlet-mapping>
-        <servlet-name>jsp</servlet-name>
         <url-pattern>*.jspx</url-pattern>
     </servlet-mapping>
 
index 14cf915..582f2e6 100644 (file)
         configuration in the default <code>server.xml</code>. It was documented
         in 7.0.19 that it has no effect. (kkolinko)
       </update>
+      <update>
+        Simplify mapping for <code>jsp</code> servlet in the default
+        <code>web.xml</code>. (kkolinko)
+      </update>
     </changelog>
   </subsection>
 </section>