I can only see one way to do this, and it's not simple.

You'd have to write a custom tag that would create a page-scoped
variable which is a single map variable that has been merged from the
following maps, in order: application, session, request, and page.  Then
you could reference your dotted variable in quotes around array
brackets, and it will essentially "search" the scopes in order.

> -----Original Message-----
> From: Brian Buckley [mailto:[EMAIL PROTECTED]
> 
> Hello,  What is the JSTL syntax to lookup a value if the name of one's
> value
> has a dot in, and if one wants the lookup to honor the standard
scoping
> lookup order rules (first page-scope, then request-scope, then
> session-scope, then application-scope) ?
> 
> For example, if a value with the name "a.b" could be in either request
or
> session scope, neither <c:out value="${requestScope['a.b']}" /> or
<c:out
> value="${sessionScope['a.b']}" />
> by themselves would work.
> 
> Is there syntax to do this?
> 
> Brian
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to