tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Schwartz ...@arrayone.com>
Subject Re: Dynamic Evaluation
Date Thu, 28 Apr 2005 18:12:53 GMT
>>param[myQuery]

The var is set in a servlet so it's available via requestScope.
Is the syntax the same as param[myQuery]?

Quoting Rahul P Akolkar <akolkar@us.ibm.com>:

>> On 4/28/05, David Schwartz <ds@arrayone.com> wrote:
>> > The myQuery param is actually a variable.
>> > It would look like...
>> > <c:set var = "myQuery" value = "${paramList}_Query" />
>> >
>> > If the request param has a "_Query" suffix then i want to display the
>> rows.
>> >
>> <snip/>
>>
>> Fun :-) Then access value of the param whose name is contained in the
>> variable myQuery using the [ ] operator, like so:
>>
>> param[myQuery]
>>
>> -Rahul
>>


David Schwartz
Array Software Inc.
http://www.arrayone.com

---------------------------------------------------------------------
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