Modified: 
websites/production/struts/content/release/2.3.x/docs/wildcard-method-selection.html
==============================================================================
--- 
websites/production/struts/content/release/2.3.x/docs/wildcard-method-selection.html
 (original)
+++ 
websites/production/struts/content/release/2.3.x/docs/wildcard-method-selection.html
 Sat Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushXml.js' 
type='text/javascript'></script>
     
     <script type="text/javascript">
@@ -138,35 +137,17 @@ under the License. 
             <div id="ConfluenceContent">    <div class="aui-message hint 
shadowed information-macro">
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            <p>The example code for this tutorial, 
wildcard_method_selection, is available for checkout at <a shape="rect" 
class="external-link" 
href="https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/";>https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/</a></p>
+                            <p>The example code for this tutorial, 
wildcard_method_selection, is available for checkout at <a shape="rect" 
class="external-link" href="https://github.com/apache/struts-examples"; 
rel="nofollow">https://github.com/apache/struts-examples</a></p>
                     </div>
     </div>
-
-
-<h3 id="WildcardMethodSelection-Introduction">Introduction</h3>
-<p>In this tutorial we'll cover how to configure an action node in the 
struts.xml configuration file so that one action node can be used to relate 
several different Action URLs to specific methods of the Action class.  This 
will reduce the number of action nodes we must write in the struts.xml 
configuration file.</p>
-
-    <div class="aui-message success shadowed information-macro">
+<h3 id="WildcardMethodSelection-Introduction">Introduction</h3><p>In this 
tutorial we'll cover how to configure an action node in the struts.xml 
configuration file so that one action node can be used to relate several 
different Action URLs to specific methods of the Action class. This will reduce 
the number of action nodes we must write in the struts.xml configuration 
file.</p>    <div class="aui-message success shadowed information-macro">
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
                             <p>The <a shape="rect" class="external-link" 
href="http://struts.apache.org/mail.html";>Struts 2 user mailing list</a> is an 
excellent place to get help. If you are having a problem getting the tutorial 
example applications to work search the Struts 2 mailing list. If you don't 
find an answer to your problem, post a question on the mailing list.</p>
                     </div>
     </div>
-
-
-<h3 id="WildcardMethodSelection-ExampleApplication">Example Application</h3>
-
-<p><img class="confluence-embedded-image confluence-content-image-border" 
src="https://cwiki.apache.org/confluence/download/attachments/21791589/Screen%20shot%202010-05-30%20at%208.51.40%20AM.png?version=1&amp;modificationDate=1275213128000&amp;api=v2";
 
data-image-src="/confluence/download/attachments/21791589/Screen%20shot%202010-05-30%20at%208.51.40%20AM.png?version=1&amp;modificationDate=1275213128000&amp;api=v2"></p>
-
-<p>The example application that supports this tutorial shows how to use Struts 
2's wildcard method selection methodology.  The example application is just a 
simple one that lists some people and lets you edit them, delete them, and add 
a new person to the list. Everything that the application needs to do with a 
Person (the model class) is controlled by the Struts 2 ActionSupport class 
PersonAction. The PersonAction class has several different methods (e.g. 
create, edit, delete) that are called depending on what the user wants to 
do.</p>
-
-<h3 id="WildcardMethodSelection-WildcardMethodSelection">Wildcard Method 
Selection</h3>
-<p>Without using the wildcard method selection technique, I'd have to write an 
action mapping node in the Struts 2 configuration file for each separate action 
I'd want to call. For example:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Struts.xml Action 
Configuration</b></div><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-
-&lt;action name=&quot;createPerson&quot; 
class=&quot;org.apache.struts.tutorials.wildcardmethod.action.PersonAction&quot;
 method=&quot;create&quot;&gt;
+<h3 id="WildcardMethodSelection-ExampleApplication">Example 
Application</h3><p><img class="confluence-embedded-image 
confluence-content-image-border" 
src="https://cwiki.apache.org/confluence/download/attachments/21791589/Screen%20shot%202010-05-30%20at%208.51.40%20AM.png?version=1&amp;modificationDate=1275213128000&amp;api=v2";
 
data-image-src="/confluence/download/attachments/21791589/Screen%20shot%202010-05-30%20at%208.51.40%20AM.png?version=1&amp;modificationDate=1275213128000&amp;api=v2"></p><p>The
 example application that supports this tutorial shows how to use Struts 2's 
wildcard method selection methodology. The example application is just a simple 
one that lists some people and lets you edit them, delete them, and add a new 
person to the list. Everything that the application needs to do with a Person 
(the model class) is controlled by the Struts 2 ActionSupport class 
PersonAction. The PersonAction class has several different methods (e.g. 
create, edit, delete) that are called 
 depending on what the user wants to do.</p><h3 
id="WildcardMethodSelection-WildcardMethodSelection">Wildcard Method 
Selection</h3><p>Without using the wildcard method selection technique, I'd 
have to write an action mapping node in the Struts 2 configuration file for 
each separate action I'd want to call. For example:</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" 
style="border-bottom-width: 1px;"><b>Struts.xml Action 
Configuration</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;action name=&quot;createPerson&quot; 
class=&quot;org.apache.struts.tutorials.wildcardmethod.action.PersonAction&quot;
 method=&quot;create&quot;&gt;
   &lt;result name=&quot;input&quot;&gt;input.jsp&lt;/result&gt;
   &lt;result name=&quot;success&quot;&gt;view.jsp&lt;/result&gt;
 &lt;/action&gt;
@@ -177,54 +158,14 @@ under the License. 
 &lt;/action&gt;
 
 ]]></script>
-</div></div>
-
-<p>So even for this simple application, I'd have to write four separate action 
mapping nodes (create, edit, delete, saveOrUpdate) in the configuration file. 
So you can easily see that a more complex application can have dozens of action 
mapping nodes.</p>
-
-<p>To implement the wildcard method selection technique to enable the Struts 2 
framework to dynamically select the correct method to call at runtime you just 
need to use the wildcard character, *, in your name value and an attribute 
value place holder ( {1} ) for the method value. For example:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader 
panelHeader pdl" style="border-bottom-width: 1px;"><b>Struts.xml Action 
Configuration Using Wildcard Method Selection</b></div><div class="codeContent 
panelContent pdl">
-<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
-
-&lt;action name=&quot;*Person&quot; 
class=&quot;org.apache.struts.tutorials.wildcardmethod.action.PersonAction&quot;
 method=&quot;{1}&quot;&gt;
+</div></div><p>So even for this simple application, I'd have to write four 
separate action mapping nodes (create, edit, delete, saveOrUpdate) in the 
configuration file. So you can easily see that a more complex application can 
have dozens of action mapping nodes.</p><p>To implement the wildcard method 
selection technique to enable the Struts 2 framework to dynamically select the 
correct method to call at runtime you just need to use the wildcard character, 
*, in your name value and an attribute value place holder ( {1} ) for the 
method value. For example:</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 
1px;"><b>Struts.xml Action Configuration Using Wildcard Method 
Selection</b></div><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[&lt;action name=&quot;*Person&quot; 
class=&quot;org.apache.struts.tutorials.wildcardmethod.action.PersonAction&quot;
 method=&quot;{1}&quot;&gt;
   &lt;result name=&quot;success&quot;&gt;view.jsp&lt;/result&gt;
   &lt;result name=&quot;input&quot;&gt;input.jsp&lt;/result&gt;
 &lt;/action&gt;
 
 ]]></script>
-</div></div>
-
-<p>The * is the wildcard character. Any action name values that end in 
"Person" will be handled by this action mapping. Whatever value is before 
"Person" will be the value used for the method attribute (the {1} place holder 
will be replaced with that value). For example this URL:</p>
-
-<p>    <a shape="rect" class="external-link" 
href="http://localhost:8080/wildcard_method_selection/createPerson.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/createPerson.action</a></p>
-
-<p>will be be processed by the the above action mapping and method create of 
class PersonAction will be called. While this URL</p>
-
-<p>    <a shape="rect" class="external-link" 
href="http://localhost:8080/wildcard_method_selection/deletePerson.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/deletePerson.action</a></p>
-
-<p>will cause the delete method of class PersonAction to be called.</p>
-
-<p>What happens if we have a URL with nothing in front of Person? For 
example:</p>
-
-<p>    <a shape="rect" class="external-link" 
href="http://localhost:8080/wildcard_method_selection/Person.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/Person.action</a></p>
-
-<p>If there is no value in front of Person, then the Struts 2 framework will 
call the execute method of the class PersonAction.</p>
-
-<h3 id="WildcardMethodSelection-DynamicMethodInvocation">Dynamic Method 
Invocation</h3>
-
-<p>The wildcard method selection technique explained above should not be 
confused with the "Dynamic Method Invocation" technique. The Struts 2 
documentation explains this technique (which uses the bang, !, operator in the 
action name) and recommends against using the "Dynamic Method Invocation" 
technique due to security and other reasons related to how this technique is 
implemented internally.</p>
-
-<p>The Struts 2 documentation also recommends turning off the option to use 
the dynamic method invocation by setting struts.enable.DynamicMethodInvocation 
to FALSE in the Struts configuration.</p>
-
-<h3 id="WildcardMethodSelection-Summary">Summary</h3>
-
-<p>By using the wildcard method selection technique explained above, you can 
significantly reduce the number of action mapping nodes you need to write and 
manage in the Struts 2 XML configuration file.</p>
-
-<h3 id="WildcardMethodSelection-UpNext">Up Next</h3>
-
-<p>In our next tutorial we'll cover how control the appearance of the Struts 2 
tags when they are rendered in the browser.</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p> Next </p></th><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Onward to <a shape="rect" 
href="struts-2-themes.html">Struts 2 Themes</a> 
</p></td></tr></tbody></table></div></div>
+</div></div><p>The * is the wildcard character. Any action name values that 
end in "Person" will be handled by this action mapping. Whatever value is 
before "Person" will be the value used for the method attribute (the {1} place 
holder will be replaced with that value). For example this URL:</p><p><a 
shape="rect" class="external-link" 
href="http://localhost:8080/wildcard_method_selection/createPerson.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/createPerson.action</a></p><p>will
 be be processed by the the above action mapping and method create of class 
PersonAction will be called. While this URL</p><p><a shape="rect" 
class="external-link" 
href="http://localhost:8080/wildcard_method_selection/deletePerson.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/deletePerson.action</a></p><p>will
 cause the delete method of class PersonAction to be called.</p><p>What happens 
if we have a URL with nothing in front of Person? For example:</p><p><a 
 shape="rect" class="external-link" 
href="http://localhost:8080/wildcard_method_selection/Person.action"; 
rel="nofollow">http://localhost:8080/wildcard_method_selection/Person.action</a></p><p>If
 there is no value in front of Person, then the Struts 2 framework will call 
the execute method of the class PersonAction.</p><h3 
id="WildcardMethodSelection-DynamicMethodInvocation">Dynamic Method 
Invocation</h3><p>The wildcard method selection technique explained above 
should not be confused with the "Dynamic Method Invocation" technique. The 
Struts 2 documentation explains this technique (which uses the bang, !, 
operator in the action name) and recommends against using the "Dynamic Method 
Invocation" technique due to security and other reasons related to how this 
technique is implemented internally.</p><p>The Struts 2 documentation also 
recommends turning off the option to use the dynamic method invocation by 
setting struts.enable.DynamicMethodInvocation to FALSE in the Struts 
configuration
 .</p><h3 id="WildcardMethodSelection-Summary">Summary</h3><p>By using the 
wildcard method selection technique explained above, you can significantly 
reduce the number of action mapping nodes you need to write and manage in the 
Struts 2 XML configuration file.</p><h3 id="WildcardMethodSelection-UpNext">Up 
Next</h3><p>In our next tutorial we'll cover how control the appearance of the 
Struts 2 tags when they are rendered in the browser.</p><div 
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Next</p></th><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Onward to <a shape="rect" 
href="struts-2-themes.html">Struts 2 
Themes</a></p></td></tr></tbody></table></div></div>
         </div>
 
         

Modified: 
websites/production/struts/content/release/2.3.x/docs/writing-interceptors.html
==============================================================================
--- 
websites/production/struts/content/release/2.3.x/docs/writing-interceptors.html 
(original)
+++ 
websites/production/struts/content/release/2.3.x/docs/writing-interceptors.html 
Sat Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
     
     <script type="text/javascript">

Modified: 
websites/production/struts/content/release/2.3.x/docs/xhtml-form-template.html
==============================================================================
--- 
websites/production/struts/content/release/2.3.x/docs/xhtml-form-template.html 
(original)
+++ 
websites/production/struts/content/release/2.3.x/docs/xhtml-form-template.html 
Sat Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushXml.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>

Modified: 
websites/production/struts/content/release/2.3.x/docs/xhtml-head-template.html
==============================================================================
--- 
websites/production/struts/content/release/2.3.x/docs/xhtml-head-template.html 
(original)
+++ 
websites/production/struts/content/release/2.3.x/docs/xhtml-head-template.html 
Sat Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushXml.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>

Modified: websites/production/struts/content/release/2.3.x/docs/xhtml-theme.html
==============================================================================
--- websites/production/struts/content/release/2.3.x/docs/xhtml-theme.html 
(original)
+++ websites/production/struts/content/release/2.3.x/docs/xhtml-theme.html Sat 
Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushXml.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>

Modified: websites/production/struts/content/release/2.3.x/docs/xsl-result.html
==============================================================================
--- websites/production/struts/content/release/2.3.x/docs/xsl-result.html 
(original)
+++ websites/production/struts/content/release/2.3.x/docs/xsl-result.html Sat 
Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushXml.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>

Modified: 
websites/production/struts/content/release/2.3.x/docs/zero-configuration.html
==============================================================================
--- 
websites/production/struts/content/release/2.3.x/docs/zero-configuration.html 
(original)
+++ 
websites/production/struts/content/release/2.3.x/docs/zero-configuration.html 
Sat Apr 26 18:40:39 2014
@@ -37,7 +37,6 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' 
rel='stylesheet' type='text/css' />
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' 
rel='stylesheet' type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' 
type='text/javascript'></script>
-    <script src='http://struts.apache.org/highlighter/js/shBrushPlain.js' 
type='text/javascript'></script>
             <script 
src='http://struts.apache.org/highlighter/js/shBrushJava.js' 
type='text/javascript'></script>
     
     <script type="text/javascript">


Reply via email to