struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r967483 - in /websites/production/struts/content/docs: version-notes-25.html webxml.html
Date Fri, 02 Oct 2015 06:55:51 GMT
Author: lukaszlenart
Date: Fri Oct  2 06:55:51 2015
New Revision: 967483

Log:
Updates production

Modified:
    websites/production/struts/content/docs/version-notes-25.html
    websites/production/struts/content/docs/webxml.html

Modified: websites/production/struts/content/docs/version-notes-25.html
==============================================================================
--- websites/production/struts/content/docs/version-notes-25.html (original)
+++ websites/production/struts/content/docs/version-notes-25.html Fri Oct  2 06:55:51 2015
@@ -142,7 +142,7 @@ under the License.
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;dependency&gt;
   &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
   &lt;artifactId&gt;struts2-core&lt;/artifactId&gt;
-  &lt;version&gt;2.5-BEAT2&lt;/version&gt;
+  &lt;version&gt;2.5-BETA2&lt;/version&gt;
 &lt;/dependency&gt;
 </pre>
 </div></div><p>You can also use Struts Archetype Catalog like below</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Struts Archetype Catalog</b></div><div
class="codeContent panelContent pdl">

Modified: websites/production/struts/content/docs/webxml.html
==============================================================================
--- websites/production/struts/content/docs/webxml.html (original)
+++ websites/production/struts/content/docs/webxml.html Fri Oct  2 06:55:51 2015
@@ -158,7 +158,17 @@ under the License.
 
 &lt;/web-app&gt;
 </pre>
-</div></div><div class="confluence-information-macro confluence-information-macro-note"><p
class="title">Changed Filter Structure in Struts &gt;= 2.1.3</p><span class="aui-icon
aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>To split up the the dispatcher phases,
FilterDispatcher is deprecated since Struts 2.1.3. If working with older versions, you need
to use</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+</div></div><div class="confluence-information-macro confluence-information-macro-note"><p
class="title">Changed Filter package in Struts &gt;= 2.5</p><span class="aui-icon
aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>As from Struts 2.5 all filters were
moved to dedicated package, see the example:</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">&lt;web-app
id="WebApp_9" version="2.4" 
+	xmlns="http://java.sun.com/xml/ns/j2ee" 
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
+
+    &lt;filter&gt;
+        &lt;filter-name&gt;struts2&lt;/filter-name&gt;
+        &lt;filter-class&gt;org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
+    ...</pre>
+</div></div></div></div><div class="confluence-information-macro
confluence-information-macro-note"><p class="title">Changed Filter Structure in Struts
&gt;= 2.1.3</p><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>To split up the the dispatcher phases,
FilterDispatcher is deprecated since Struts 2.1.3. If working with older versions, you need
to use</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">   
...
     &lt;filter&gt;
         &lt;filter-name&gt;struts2&lt;/filter-name&gt;



Mime
View raw message