Merge pull request #211 from apache/feature/clarify-attr-search
Clarifies how #attr works and other scopes
diff --git a/source/core-developers/accessing-application-session-request-objects.md b/source/core-developers/accessing-application-session-request-objects.md
index 774d1cf..9128720 100644
--- a/source/core-developers/accessing-application-session-request-objects.md
+++ b/source/core-developers/accessing-application-session-request-objects.md
@@ -64,13 +64,13 @@
the `#application` stack value.
The `#attr` stack value will search the `javax.servlet.jsp.PageContext` for the specified key. If the `PageContext`
-doesn't exist, it will search the request, session, and application scopes, in that order.
+doesn't exist, it will search the `request`, `session` and `application` scopes, in that order.
-**Accessing attributes in the Application, Session, Request, or Page scope from a JSP**
+**Accessing attributes in the Application, Session, Request or Page scope from a JSP**
+
+Retrieve the attribute (property), with key `myId`, from the specified scope:
```jsp
-<p>Retrieve the attribute (property), with key myId, from the specified scope:</p>
-
<s:property value="#application.myId" />
<s:property value="#session.myId" />
@@ -78,6 +78,8 @@
<s:property value="#request.myId" />
<s:property value="#attr.myId" />
-
-<p>Reminder: #attr is for Page scope attributes first, but will search the remaining scopes, in order, seeking a match.</p>
```
+
+**Note**: `#attr` is for Page scope attributes first, but will search the remaining scopes, in order, seeking a match.
+In opposite using just `#` means you want to fetch a value from the top of the [ValueStack](../tag-developers/access-to-valuestack-from-jsps)
+without searching down the stack.
diff --git a/source/tag-developers/access-to-valuestack-from-jsps.md b/source/tag-developers/access-to-valuestack-from-jsps.md
index d6ab899..b9b05d6 100644
--- a/source/tag-developers/access-to-valuestack-from-jsps.md
+++ b/source/tag-developers/access-to-valuestack-from-jsps.md
@@ -1,6 +1,9 @@
---
layout: default
title: Access to ValueStack from JSPs
+parent:
+ title: JSP
+ url: jsp
---
# Access to ValueStack from JSPs