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 76585f8  Updates production by Jenkins
76585f8 is described below

commit 76585f8a2a68bbf1d19c67d24fa161eed1a9e6ed
Author: jenkins <bui...@apache.org>
AuthorDate: Thu Oct 5 06:50:59 2017 +0000

    Updates production by Jenkins
---
 content/core-developers/dispatcher-result.html | 26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

diff --git a/content/core-developers/dispatcher-result.html 
b/content/core-developers/dispatcher-result.html
index 1578cce..67a41cf 100644
--- a/content/core-developers/dispatcher-result.html
+++ b/content/core-developers/dispatcher-result.html
@@ -134,33 +134,23 @@
 <p>There are three possible ways the result can be executed:</p>
 
 <ul>
-  <li>
-    <p>If we are in the scope of a JSP (a PageContext is available), 
PageContext’s <code class="highlighter-rouge"><span class="p">{</span><span 
class="err">@link</span><span class="w"> </span><span 
class="err">PageContext#include(String)</span><span class="w"> </span><span 
class="err">include</span><span class="p">}</span></code> method is called.</p>
-  </li>
-  <li>
-    <p>If there is no PageContext and we’re not in any sort of include (there 
is no “javax.servlet.include.servlet_path” in the request attributes), then a 
call to <code class="highlighter-rouge"><span class="p">{</span><span 
class="err">@link</span><span class="w"> </span><span 
class="err">RequestDispatcher#forward(javax.servlet.ServletRequest,</span><span 
class="w"> </span><span class="err">javax.servlet.ServletResponse)</span><span 
class="w"> </span><span class="err">forward</span><sp [...]
-  </li>
-  <li>
-    <p>Otherwise, <code class="highlighter-rouge"><span 
class="p">{</span><span class="err">@link</span><span class="w"> </span><span 
class="err">RequestDispatcher#include(javax.servlet.ServletRequest,</span><span 
class="w"> </span><span class="err">javax.servlet.ServletResponse)</span><span 
class="w"> </span><span class="err">include</span><span 
class="p">}</span></code> is called.</p>
-  </li>
+  <li>If we are in the scope of a JSP (a PageContext is available), 
PageContext’s <code class="highlighter-rouge"><span class="p">{</span><span 
class="err">@link</span><span class="w"> </span><span 
class="err">PageContext#include(String)</span><span class="w"> </span><span 
class="err">include</span><span class="p">}</span></code> method is called.</li>
+  <li>If there is no PageContext and we’re not in any sort of include (there 
is no “javax.servlet.include.servlet_path” in the request attributes), then a 
call to <code class="highlighter-rouge"><span class="p">{</span><span 
class="err">@link</span><span class="w"> </span><span 
class="err">RequestDispatcher#forward(javax.servlet.ServletRequest,</span><span 
class="w"> </span><span class="err">javax.servlet.ServletResponse)</span><span 
class="w"> </span><span class="err">forward</span><spa [...]
+  <li>Otherwise, <code class="highlighter-rouge"><span class="p">{</span><span 
class="err">@link</span><span class="w"> </span><span 
class="err">RequestDispatcher#include(javax.servlet.ServletRequest,</span><span 
class="w"> </span><span class="err">javax.servlet.ServletResponse)</span><span 
class="w"> </span><span class="err">include</span><span 
class="p">}</span></code> is called.</li>
 </ul>
 
 <h4 id="parameters">Parameters</h4>
 
 <ul>
-  <li>
-    <p><code class="highlighter-rouge">location</code> (default) - the 
location to go to after execution (ex. jsp).</p>
-  </li>
-  <li>
-    <p><code class="highlighter-rouge">parse</code> - true by default. If set 
to false, the location param will not be parsed for OGNL expressions.</p>
-  </li>
+  <li><code class="highlighter-rouge">location</code> (default) - the location 
to go to after execution (ex. jsp).</li>
+  <li><code class="highlighter-rouge">parse</code> - true by default. If set 
to false, the location param will not be parsed for OGNL expressions.</li>
 </ul>
 
 <h4 id="examples">Examples</h4>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>&lt;result 
name="success" type="dispatcher"&gt;
-  &lt;param name="location"&gt;foo.jsp&lt;/param&gt;
-&lt;/result&gt;
+<div class="highlighter-rouge"><pre class="highlight"><code><span 
class="nt">&lt;result</span> <span class="na">name=</span><span 
class="s">"success"</span> <span class="na">type=</span><span 
class="s">"dispatcher"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;param</span> <span class="na">name=</span><span 
class="s">"location"</span><span class="nt">&gt;</span>foo.jsp<span 
class="nt">&lt;/param&gt;</span>
+<span class="nt">&lt;/result&gt;</span>
 </code></pre>
 </div>
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Reply via email to