Easy get method of record number
Kazuaki Miyauchi <[email protected]> Wed, 24 Sep 2014 17:52:20 +0900
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <CAFLYOCEXnqi4SQFwznx3Y5DxGg8Y=RRN+Qy9C5_w7YuyCN95dw@mail.gmail.com> |
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,