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 89d1f4395 Automatic Site Publish by Buildbot
89d1f4395 is described below

commit 89d1f43951a58530819f1e20758bb2e60e6d2dd0
Author: buildbot <us...@infra.apache.org>
AuthorDate: Tue Oct 31 14:55:04 2023 +0000

    Automatic Site Publish by Buildbot
---
 .../accessing-application-session-request-objects.html     | 14 ++++++++------
 output/tag-developers/access-to-valuestack-from-jsps.html  |  2 ++
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git 
a/output/core-developers/accessing-application-session-request-objects.html 
b/output/core-developers/accessing-application-session-request-objects.html
index c9f60603f..e9d8eb350 100644
--- a/output/core-developers/accessing-application-session-request-objects.html
+++ b/output/core-developers/accessing-application-session-request-objects.html
@@ -211,23 +211,25 @@ Page attributes are accessed via OGNL using the <code 
class="language-plaintext
 the <code class="language-plaintext highlighter-rouge">#application</code> 
stack value.</p>
 
 <p>The <code class="language-plaintext highlighter-rouge">#attr</code> stack 
value will search the <code class="language-plaintext 
highlighter-rouge">javax.servlet.jsp.PageContext</code> for the specified key. 
If the <code class="language-plaintext highlighter-rouge">PageContext</code>
-doesn’t exist, it will search the request, session, and application scopes, in 
that order.</p>
+doesn’t exist, it will search the <code class="language-plaintext 
highlighter-rouge">request</code>, <code class="language-plaintext 
highlighter-rouge">session</code> and <code class="language-plaintext 
highlighter-rouge">application</code> scopes, in that order.</p>
 
-<p><strong>Accessing attributes in the Application, Session, Request, or Page 
scope from a JSP</strong></p>
+<p><strong>Accessing attributes in the Application, Session, Request or Page 
scope from a JSP</strong></p>
 
-<div class="language-jsp highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;p&gt;</span>Retrieve the attribute 
(property), with key myId, from the specified scope:<span 
class="nt">&lt;/p&gt;</span>
+<p>Retrieve the attribute (property), with key <code class="language-plaintext 
highlighter-rouge">myId</code>, from the specified scope:</p>
 
-<span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#application.myId"</span> <span class="nt">/&gt;</span>
+<div class="language-jsp highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;s:property </span><span 
class="na">value=</span><span class="s">"#application.myId"</span> <span 
class="nt">/&gt;</span>
 
 <span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#session.myId"</span> <span class="nt">/&gt;</span>
 
 <span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#request.myId"</span> <span class="nt">/&gt;</span>
 
 <span class="nt">&lt;s:property </span><span class="na">value=</span><span 
class="s">"#attr.myId"</span> <span class="nt">/&gt;</span>
-
-<span class="nt">&lt;p&gt;</span>Reminder: #attr is for Page scope attributes 
first, but will search the remaining scopes, in order, seeking a match.<span 
class="nt">&lt;/p&gt;</span>
 </code></pre></div></div>
 
+<p><strong>Note</strong>: <code class="language-plaintext 
highlighter-rouge">#attr</code> is for Page scope attributes first, but will 
search the remaining scopes, in order, seeking a match.
+In opposite using just <code class="language-plaintext 
highlighter-rouge">#</code> means you want to fetch a value from the top of the 
<a href="../tag-developers/access-to-valuestack-from-jsps">ValueStack</a> 
+without searching down the stack.</p>
+
   </section>
 </article>
 
diff --git a/output/tag-developers/access-to-valuestack-from-jsps.html 
b/output/tag-developers/access-to-valuestack-from-jsps.html
index 8a9ff199c..f2789e298 100644
--- a/output/tag-developers/access-to-valuestack-from-jsps.html
+++ b/output/tag-developers/access-to-valuestack-from-jsps.html
@@ -147,6 +147,8 @@
   <section class="col-md-12">
     <a class="edit-on-gh" 
href="https://github.com/apache/struts-site/edit/master/source/tag-developers/access-to-valuestack-from-jsps.md";
 title="Edit this page on GitHub">Edit on GitHub</a>
     
+    <a href="jsp" title="back to JSP"><< back to JSP</a>
+    
     <h1 id="access-to-valuestack-from-jsps">Access to ValueStack from JSPs</h1>
 
 <p>To access the ValueStack from third-party JSP taglibs, expose property 
values to JSP using the <code class="language-plaintext 
highlighter-rouge">&lt;s:set/&gt;</code> tag.</p>

Reply via email to