tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Pilka <>
Subject Substitution of a variable in a variable
Date Tue, 29 Mar 2005 12:32:52 GMT
Hi folks,

anyone knows how to express the following snippet?

<sql:query var="myQuery">
  SELECT name_${language}, iso3166 FROM countries ORDER BY name_${language}
<c:forEach var="row" items="${myQuery.rows}">
  <option value="<c:out value='${row.iso3166}' />">

The expression ${row.name_${language}} is the one making trouble. How to 
substitute a variable in a variable?

Mni thx,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message