Author: nlebas
Date: Sat Jun 22 14:46:43 2013
New Revision: 1495742

URL: http://svn.apache.org/r1495742
Log:
revert change to framework/tutorial/configuration.html which is unrelated to 
CVE-2013-1571

Modified:
    tiles/site/staging/framework/tutorial/configuration.html

Modified: tiles/site/staging/framework/tutorial/configuration.html
URL: 
http://svn.apache.org/viewvc/tiles/site/staging/framework/tutorial/configuration.html?rev=1495742&r1=1495741&r2=1495742&view=diff
==============================================================================
--- tiles/site/staging/framework/tutorial/configuration.html (original)
+++ tiles/site/staging/framework/tutorial/configuration.html Sat Jun 22 
14:46:43 2013
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia at Mar 4, 2013 -->
+<!-- Generated by Apache Maven Doxia at Jul 11, 2012 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("../css/site.css");
     </style>
     <link rel="stylesheet" href="../css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20130304" />
+    <meta name="Date-Revision-yyyymmdd" content="20120711" />
     <meta http-equiv="Content-Language" content="en" />
         
         </head>
@@ -30,8 +30,8 @@
             
         
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2013-03-04</span>
-                  &nbsp;| <span id="projectVersion">Version: 
3.1-SNAPSHOT</span>
+        <span id="publishDate">Last Published: 2012-07-11</span>
+                  &nbsp;| <span id="projectVersion">Version: 3.0.1</span>
                       </div>
             <div class="xright">                    <a 
href="http://www.apache.org"; class="externalLink" title="Apache">Apache</a>
             |
@@ -191,7 +191,7 @@
     <div id="bodyColumn">
       <div id="contentBox">
         <!-- $Id: configuration.apt 1310865 2012-04-07 21:01:22Z nlebas $ 
--><!--  --><!-- Licensed to the Apache Software Foundation (ASF) under one 
--><!-- or more contributor license agreements.  See the NOTICE file --><!-- 
distributed with this work for additional information --><!-- regarding 
copyright ownership.  The ASF licenses this file --><!-- to you under the 
Apache License, Version 2.0 (the --><!-- "License"); you may not use this file 
except in compliance --><!-- with the License.  You may obtain a copy of the 
License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  
--><!-- Unless required by applicable law or agreed to in writing, --><!-- 
software distributed under the License is distributed on an --><!-- "AS IS" 
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or 
implied.  See the License for the --><!-- specific language governing 
permissions and limitations --><!-- under the License. --><!--  --><div class="s
 ection"><h2>Configuring Tiles in your web application<a 
name="Configuring_Tiles_in_your_web_application"></a></h2><p>Tiles has always 
been a web application package, usually used in conjunction with Struts. Apache 
Tiles&#x99; evolved to the point of being technology-independent, but its use 
in a Servlet-based web application is still the most frequent use case.</p><div 
class="section"><h3>Required libraries<a 
name="Required_libraries"></a></h3><p>The first thing is to install the 
required libraries. For the purpose of this tutorial, we will install 
everything: the more we can do, the better. Just know that a more 
&quot;lightweight&quot; but limited configuration is available.</p><p>If you're 
using maven, just include this dependency, it will include the 
rest:</p><div><pre>&lt;groupId&gt;org.apache.tiles&lt;/groupId&gt;
-&lt;artifactId&gt;tiles-extras&lt;/artifactId&gt;</pre></div><p>If you're not 
using maven, just <a href="/download.html">download</a> tiles and copy all the 
jars into the /WEB-INF/lib directory.</p></div><div 
class="section"><h3>Starting Tiles engine<a 
name="Starting_Tiles_engine"></a></h3><p>Load the tiles container by using the 
appropriate listener it in your <tt>web.xml</tt> file. Since we decided to load 
everything, we'll use 
<tt>CompleteAutoloadTilesListener</tt>:</p><div><pre>&lt;listener&gt;
+&lt;artefactId&gt;tiles-extras&lt;/artefactId&gt;</pre></div><p>If you're not 
using maven, just <a href="/download.html">download</a> tiles and copy all the 
jars into the /WEB-INF/lib directory.</p></div><div 
class="section"><h3>Starting Tiles engine<a 
name="Starting_Tiles_engine"></a></h3><p>Load the tiles container by using the 
appropriate listener it in your <tt>web.xml</tt> file. Since we decided to load 
everything, we'll use 
<tt>CompleteAutoloadTilesListener</tt>:</p><div><pre>&lt;listener&gt;
     
&lt;listener-class&gt;org.apache.tiles.extras.complete.CompleteAutoloadTilesListener&lt;/listener-class&gt;
 &lt;/listener&gt;</pre></div><p>For this tutorial, we'll configure Tiles to 
work directly with the servlet API, without a controller. In the real world, 
you'll probably use an MVC framework like Struts or Shale or Spring. You have 
to configure your framework to work with Tiles; please refer to your 
framework's documentation for that. For now, we'll just declare 
<tt>TilesDispatchServlet</tt> in <tt>web.xml</tt>:</p><div><pre>&lt;servlet&gt;
     &lt;servlet-name&gt;Tiles Dispatch Servlet&lt;/servlet-name&gt;
@@ -208,7 +208,7 @@
     </div>
     <div id="footer">
       <div class="xright">
-              Copyright &#169;                    2001-2013
+              Copyright &#169;                    2001-2012
                         <a href="http://www.apache.org";>Apache Software 
Foundation</a>.
             All Rights Reserved.      
         


Reply via email to