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>

Reply via email to