tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazuaki Miyauchi <miyau...@gmail.com>
Subject Easy get method of record number
Date Wed, 24 Sep 2014 08:52:20 GMT
 Hi, it seems there is no way to get the numbers of records without
issuing count sql . It is convenient to get the number as following.

<sql:query var="rsSelect" dataSource="${example}" sql="select
firstName, address from member where id = 'aiueo';" />
 <c:if test="${rsSelect.countNum == 0}" >
...

Why is there no function to get record number?

Regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@tomcat.apache.org
For additional commands, e-mail: taglibs-user-help@tomcat.apache.org


Mime
View raw message