tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1640935 - in /tomcat/site/trunk: docs/migration-8.html xdocs/migration-8.xml
Date Fri, 21 Nov 2014 15:19:13 GMT
Author: kkolinko
Date: Fri Nov 21 15:19:13 2014
New Revision: 1640935

URL: http://svn.apache.org/r1640935
Log:
Add example to Migration guide, as asked in BZ 57245

Modified:
    tomcat/site/trunk/docs/migration-8.html
    tomcat/site/trunk/xdocs/migration-8.xml

Modified: tomcat/site/trunk/docs/migration-8.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-8.html?rev=1640935&r1=1640934&r2=1640935&view=diff
==============================================================================
--- tomcat/site/trunk/docs/migration-8.html (original)
+++ tomcat/site/trunk/docs/migration-8.html Fri Nov 21 15:19:13 2014
@@ -372,6 +372,22 @@ of Apache Tomcat.</p>
     
 </ul>
 
+    
+<p>For example, configurations in Tomcat 7 and Tomcat 8:</p>
+
+    
+<div class="codeBox">
+<pre>
+<code>&lt;!-- Tomcat 7: --&gt;
+&lt;Context allowLinking="true" /&gt;
+
+&lt;!-- Tomcat 8: --&gt;
+&lt;Context&gt;
+  &lt;Resources allowLinking="true" /&gt;
+&lt;/Context&gt;</code>
+</pre>
+</div>
+
   
 </div>
 </div>

Modified: tomcat/site/trunk/xdocs/migration-8.xml
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/migration-8.xml?rev=1640935&r1=1640934&r2=1640935&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/migration-8.xml (original)
+++ tomcat/site/trunk/xdocs/migration-8.xml Fri Nov 21 15:19:13 2014
@@ -96,6 +96,16 @@ of Apache Tomcat.</p>
       <li>cacheTtl (renamed: it was cacheTTL in Tomcat 7)</li>
     </ul>
 
+    <p>For example, configurations in Tomcat 7 and Tomcat 8:</p>
+
+    <source><![CDATA[<!-- Tomcat 7: -->
+<Context allowLinking="true" />
+
+<!-- Tomcat 8: -->
+<Context>
+  <Resources allowLinking="true" />
+</Context>]]></source>
+
   </subsection>
 
   <subsection name="Database Connection Pooling">



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


Mime
View raw message