You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by JF...@studentadvantage.com on 2003/10/29 21:10:14 UTC

Storing JSTL/EL statements?

hello,

i have, what is hopefully, a very brief question.  does anyone know of a way
to evaluate an EL statement that is cached in request/session/etc scope?
say you have "business.name" expression stored in request scope (tied to
"expression") alongside a "business" object.  i'd essentially like to do
something like this:

<c:out value="${${expression}}" />

which would perform 2 evaluations giving - in theory:

<c:out value="${business.name}" />
Business Foobar

(assuming Business Foobar is the "name" attribute of hte business
attribute).  this one's killin' me! :-)

thanks in advance,
-james

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org