We've got an app that makes heavy use of JSTL expressions and custom taglibs, which means our pageContext attributes could have been set just about anywhere. How do I go about determining where they originated? Consider something like:
<c:out value="${ myObject['SOME_KEY'] }" />
I need to know where myObject came from -- how did it make its way into the pageContext? I am using IDEA, so if there is a shortcut for determining that within the IDE, it would be most helpful.
EDIT:
I don't want to know about the scope, but in what physical file the attribute was actually set. Almost identical to the Find Usages... functionality in the right-click context menu of IDEA. If I'm three includes deep into a JSP that might be using taglibs and templating, an attribute set within the pageContext could have been set just about anywhere. I would like to find usages and instances of that attribute.