tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <akol...@us.ibm.com>
Subject Re: Dynamic Evaluation
Date Thu, 28 Apr 2005 17:00:21 GMT
You don't have to loop to get at a request param, just use the param 
implicit object in your EL expression like so:

${param.myQuery}

-Rahul

On 4/28/05, David Schwartz <ds@arrayone.com> wrote:
> Hi.
> I'm trying to dynamically evaluate & loop through a request parameter 
whose
> value is a ResultSet.
> 
> First, I'm looping the requestScope to find a param named "myQuery".
> Once found I want to output the rows of the query.
> 
> <c:forEach items = '${requestScope}' var = "paramList" >
>    <c:if test = '${paramList eq "myQuery"}' >
> 
>        <%-- Here's where I'm stuck.
>             How do I reference the value of myQuery, which is a 
ResultSet?
>        --%>
> 
>        <c:forEach items = '${}' >
> 
>    </c:if>
> </c:forEach>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message