struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [struts-site] branch asf-site updated: Updates production by Jenkins
Date Sun, 09 Dec 2018 08:00:56 GMT
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 bf9ba57  Updates production by Jenkins
bf9ba57 is described below

commit bf9ba575c177fa1cda6febeaf5867f2fa5f9c53e
Author: jenkins <builds@apache.org>
AuthorDate: Sun Dec 9 08:00:54 2018 +0000

    Updates production by Jenkins
---
 content/core-developers/default-properties.html | 3 ++-
 content/core-developers/interceptors.html       | 3 +--
 content/core-developers/struts-default-xml.html | 3 +--
 content/getting-started/using-tags.html         | 2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/content/core-developers/default-properties.html b/content/core-developers/default-properties.html
index ff2ede3..3932525 100644
--- a/content/core-developers/default-properties.html
+++ b/content/core-developers/default-properties.html
@@ -216,7 +216,8 @@ struts.multipart.maxSize=2097152
 # struts.custom.properties=application,org/apache/struts2/extension/custom
 
 ### How request URLs are mapped to and from actions
-#struts.mapper.class=org.apache.struts2.dispatcher.mapper.DefaultActionMapper
+### Vy default 'struts' name is used which maps to DefaultActionMapper
+#struts.mapper.class=restful
 
 ### Used by the DefaultActionMapper
 ### You may provide a comma separated list, e.g. struts.action.extension=action,jnlp,do
diff --git a/content/core-developers/interceptors.html b/content/core-developers/interceptors.html
index fdfc05a..e965204 100644
--- a/content/core-developers/interceptors.html
+++ b/content/core-developers/interceptors.html
@@ -316,6 +316,7 @@ than reiterate the same list of Interceptors, we can bundle these Interceptors
t
 
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"struts"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.DefaultActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"composite"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.CompositeActionMapper"</span>
<span class="nt">/&gt;</span>
+    <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"prefix"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.PrefixBasedActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"restful"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.RestfulActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"restful2"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.Restful2ActionMapper"</span>
<span class="nt">/&gt;</span>
 
@@ -398,8 +399,6 @@ than reiterate the same list of Interceptors, we can bundle these Interceptors
t
 
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.DispatcherErrorHandler"</span> <span
class="na">name=</span><span class="s">"struts"</span> <span class="na">class=</span><span
class="s">"org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler"</span> <span
class="nt">/&gt;</span>
     
-    <span class="nt">&lt;constant</span> <span class="na">name=</span><span
class="s">"struts.dispatcher.errorHandler"</span> <span class="na">value=</span><span
class="s">"struts"</span> <span class="nt">/&gt;</span>
-
     <span class="c">&lt;!--  Silly workarounds for OGNL since there is currently
no way to flush its internal caches --&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"ognl.PropertyAccessor"</span> <span class="na">name=</span><span
class="s">"java.util.ArrayList"</span> <span class="na">class=</span><span
class="s">"com.opensymphony.xwork2.ognl.accessor.XWorkListPropertyAccessor"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"ognl.PropertyAccessor"</span> <span class="na">name=</span><span
class="s">"java.util.HashSet"</span> <span class="na">class=</span><span
class="s">"com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor"</span>
<span class="nt">/&gt;</span>
diff --git a/content/core-developers/struts-default-xml.html b/content/core-developers/struts-default-xml.html
index 4c0cda6..791689b 100644
--- a/content/core-developers/struts-default-xml.html
+++ b/content/core-developers/struts-default-xml.html
@@ -231,6 +231,7 @@ setting in <a href="struts-properties.html">struts.properties</a>.</p>
 
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"struts"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.DefaultActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"composite"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.CompositeActionMapper"</span>
<span class="nt">/&gt;</span>
+    <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"prefix"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.PrefixBasedActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"restful"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.RestfulActionMapper"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.mapper.ActionMapper"</span> <span class="na">name=</span><span
class="s">"restful2"</span> <span class="na">class=</span><span class="s">"org.apache.struts2.dispatcher.mapper.Restful2ActionMapper"</span>
<span class="nt">/&gt;</span>
 
@@ -313,8 +314,6 @@ setting in <a href="struts-properties.html">struts.properties</a>.</p>
 
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"org.apache.struts2.dispatcher.DispatcherErrorHandler"</span> <span
class="na">name=</span><span class="s">"struts"</span> <span class="na">class=</span><span
class="s">"org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler"</span> <span
class="nt">/&gt;</span>
     
-    <span class="nt">&lt;constant</span> <span class="na">name=</span><span
class="s">"struts.dispatcher.errorHandler"</span> <span class="na">value=</span><span
class="s">"struts"</span> <span class="nt">/&gt;</span>
-
     <span class="c">&lt;!--  Silly workarounds for OGNL since there is currently
no way to flush its internal caches --&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"ognl.PropertyAccessor"</span> <span class="na">name=</span><span
class="s">"java.util.ArrayList"</span> <span class="na">class=</span><span
class="s">"com.opensymphony.xwork2.ognl.accessor.XWorkListPropertyAccessor"</span>
<span class="nt">/&gt;</span>
     <span class="nt">&lt;bean</span> <span class="na">type=</span><span
class="s">"ognl.PropertyAccessor"</span> <span class="na">name=</span><span
class="s">"java.util.HashSet"</span> <span class="na">class=</span><span
class="s">"com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor"</span>
<span class="nt">/&gt;</span>
diff --git a/content/getting-started/using-tags.html b/content/getting-started/using-tags.html
index f5644d9..f5453c7 100644
--- a/content/getting-started/using-tags.html
+++ b/content/getting-started/using-tags.html
@@ -251,7 +251,7 @@ Consult the <a href="../tag-developers/form-tags.html">Form Tags
Reference</a> f
 </code></pre>
 
 <p>The Struts 2 textfield tag provides an input html tag of tag text and the submit
tag creates a submit button. When the index 
-page is return by the server to the browser you should see:</p>
+page is returned by the server to the browser you should see:</p>
 
 <p><img src="attachments/using_tags_form.png" alt="Struts Form.png" /></p>
 


Mime
View raw message