HI all,
[/QB]
JSP.2.10 Implicit Objects
The EL defines a set of implicit objects which depends on the context in which the EL is being used. When an expression references one of these objects by name, the appropriate object is returned instead of the corresponding attribute. For example in the context of JSP pages, ${pageContext} returns the PageContext object, even if there is an existing pageContext attribute containing some other value.The following implicit objects are available to EL expressions used in JSP
[/QB]
Hi Simon,
You said : "Implicit object are not attribute of the pageContext"..
OK, but i�m not talking about EL issues.
I agree with you. For instance:
We could have this:
EL: {applicationScope.something} , and
PageContext: pageContext.getServletContext()
Originally posted by Felipe Pittella:
Hi, again
For instance:
1- <c:set var="pageContext" value="XXX" scope="page" />
or..
2- <% pageContext.setAttribute("out", "outString" , PageContext.PAGE_SCOPE); %>
3- <% pageContext.setAttribute("exception", "exceptionString" , PageContext.PAGE_SCOPE); %>
4- <%pageContext.setAttribute("page", "pageString" , PageContext.PAGE_SCOPE); %>
Does it overwrite the original implicit objects (in page scope)? or is it a translation error???
Tks.
But the problem for me is..(what i still dindpt figure out..)
--> "outString", "exceptionString" and "pageString" are all "PAGE" scoped attributes, as well as the other implicit ones such as out, exception and page..IN THE SME JSP pagein this case.
What dind�t i figure out?
Tks so much