On Fri, 10 May 2002, Gading wrote:

> I'm new to this list, pls forgive when this question already asked before.
> 1. Is there any searchable arcives for this list ( i can not found in 
> signature).

Sun provides a browseable and searchable archive at

 http://archives.java.sun.com/archives/jsp-interest.html

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

-- 
Shawn Bayern
"JSP Standard Tag Library"   http://www.jstlbook.com
(coming this summer from Manning Publications)


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

Reply via email to