This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new f596a20 Automatic Site Publish by Buildbot
f596a20 is described below
commit f596a2001a42cbd40f7952ea6b8c5f3ba79c646d
Author: buildbot <[email protected]>
AuthorDate: Tue Jun 2 07:08:11 2020 +0000
Automatic Site Publish by Buildbot
---
output/core-developers/action-mapper.html | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/output/core-developers/action-mapper.html
b/output/core-developers/action-mapper.html
index bffc4bf..08a34e6 100644
--- a/output/core-developers/action-mapper.html
+++ b/output/core-developers/action-mapper.html
@@ -184,6 +184,23 @@ the ability to name a button with some predefined prefix
and have that button n
the extension form (eg: <code class="highlighter-rouge">foo!bar.action</code>)
or in the prefix form (eg: <code
class="highlighter-rouge">action:foo!bar</code>). This syntax tells this mapper
to map to the action named <code class="highlighter-rouge">foo</code> and the
method <code class="highlighter-rouge">bar</code>.</p>
+<blockquote>
+ <p>NOTE: By default support for the <code
class="highlighter-rouge">action:</code> prefix has been disabled since Struts
2.3.15.3, please use the below
+constant to enable it:</p>
+ <ul>
+ <li>using <code class="highlighter-rouge">struts.properties</code>:
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>struts.mapper.action.prefix.enabled=true
+</code></pre></div> </div>
+ </li>
+ <li>or using <code class="highlighter-rouge">struts.xml</code>:
+ <div class="highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><constant name="struts.mapper.action.prefix.enabled"
value="true"/>
+</code></pre></div> </div>
+ </li>
+ </ul>
+
+ <p>See <a
href="https://cwiki.apache.org/confluence/display/WW/S2-018">S2-018</a> for
more details.</p>
+</blockquote>
+
<h3 id="method-prefix">Method prefix</h3>
<p>With method-prefix, instead of calling baz action’s <code
class="highlighter-rouge">execute()</code> method (by default if it isn’t
overridden in <code class="highlighter-rouge">struts.xml</code>