I suspect the body of the when clause is not executed
because its condition evaluates to false.

You should print the value of param.sqlRequest prior
to the <c:choose> to make sure it has the value "1".

    -- Pierre

Lorenzo Sicilia wrote:
> 
> A problem about scope:
> 
> my script
> 
> <c:choose >
>         <c:when test="${param.sqlRequest == 1}"  >
>                         <sql:query var="flashRecordSet" >
>                         SELECT  ID_news,data,
>                                 titolo_it as titolo,
>                                 abstract_it as abstract,
>                                 testo_it as testo
>                         FROM tb_news
>                         </sql:query>
>         </c:when>
> </c:choose>
> 
> Result rs = (Result)pageContext.findAttribute("flashRecordSet");
> 
> I can't find flashRecordSet. If SQL tag is out the tags Choose and When
> all work fine.
> Some one can explain me why? I need just the path to get flashRecordSet
> 
> thanks Lorenzo Sicilia
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>


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

Reply via email to