tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: Using Standard Tag Library to Display a Request Attribute
Date Sun, 09 Feb 2003 19:09:07 GMT
On Sun, 9 Feb 2003, Shadow X wrote:

> What if I needed to use a key to lookup the parameter value?
> 
> For instance:
> 
> <c:out value="${requestScope['org.apache.struts.Globals.LOCALE_KEY']}"
> />
> 
> "org.apache.struts.Globals.LOCALE_KEY" actually maps to
> "org.apache.struts.action.LOCALE"

If I'm understanding the request right, the following would work:

 ${requestScope[requestScope['org.apache.struts.Globals.LOCALE_KEY']]}

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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


Mime
View raw message