Good to see somebody else had the same question as myself.

> > 2. How to put the output of "<sql:rowCount/>" into varable? I want to
> > make different color for each row, so if rowcount == even then td
> > color is dark etc.
>
>DBTags does not provide such a facility (the ability to save the output as
>a scoped attribute or scripting variable) on its own, but you can use it
>in conjunction with JSTL's <c:set> tag to store a scoped attribute --
>e.g.,
>
>   <c:set var="count">
>     <sql:rowCount/>
>   </c:set>
>
>If you're using JSTL anyway, you might be interested in migrating to
>JSTL's standard database support.

I'm confused here. I went to the Apache Jakarta projects site to get the 
JSTL and it includes DBTags. I couldn't find any other database support 
taglib in the JSTL that I downloaded from there.  Which standard database 
support library are you referring to ?

Soefara Redzuan.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to