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 b516b4d Updates production by Jenkins
b516b4d is described below
commit b516b4dfb7c0854c14a67ef617e4f3fbbeb59ff8
Author: jenkins <[email protected]>
AuthorDate: Mon Nov 27 10:24:25 2017 +0000
Updates production by Jenkins
---
content/core-developers/action-configuration.html | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/content/core-developers/action-configuration.html
b/content/core-developers/action-configuration.html
index 34f283f..bbe6ed7 100644
--- a/content/core-developers/action-configuration.html
+++ b/content/core-developers/action-configuration.html
@@ -465,10 +465,13 @@ by annotations or <code
class="highlighter-rouge"><allowed-method/></code>
</code></pre>
</div>
-<p>Allowed methods can be defined as:
-- literals ie. in xml: <code class="highlighter-rouge">execute,cancel</code>
or in annotation: <code class="highlighter-rouge"><span class="p">{</span><span
class="nt">"execute"</span><span class="err">,</span><span class="w">
</span><span class="nt">"cancel"</span><span class="err">}</span></code>
-- patterns when using with wildcard mapping, i.e <code
class="highlighter-rouge"><action ... method="do{2}"/></code>
-- RegExs using <code class="highlighter-rouge">regex:</code> prefix, ie: <code
class="highlighter-rouge"><global-allowed-methods>execute,input,cancel,regex:user([A-Z]*)</global-allowed-methods></code></p>
+<p>Allowed methods can be defined as:</p>
+
+<ul>
+ <li>literals ie. in xml: <code
class="highlighter-rouge">execute,cancel</code> or in annotation: <code
class="highlighter-rouge"><span class="p">{</span><span
class="nt">"execute"</span><span class="err">,</span><span class="w">
</span><span class="nt">"cancel"</span><span class="err">}</span></code></li>
+ <li>patterns when using with wildcard mapping, i.e <code
class="highlighter-rouge"><action ... method="do{2}"/></code></li>
+ <li>RegExs using <code class="highlighter-rouge">regex:</code> prefix, ie:
<code
class="highlighter-rouge"><global-allowed-methods>execute,input,cancel,regex:user([A-Z]*)</global-allowed-methods></code></li>
+</ul>
<p>Please be aware when using your own <code
class="highlighter-rouge">ConfigurationProvider</code> that the logic to set
allowed methods is defined in built-in
providers - <code class="highlighter-rouge">XmlConfigurationProvider</code>
and <code class="highlighter-rouge">PackageBasedActionConfigBuilder</code> -
and you must replicate such logic in your
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].