aspose file tools*
The moose likes JSP and the fly likes check sql:query for no data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "check sql:query for no data" Watch "check sql:query for no data" New topic
Author

check sql:query for no data

liliya woland
Ranch Hand

Joined: Apr 11, 2006
Posts: 134
Hello,
Could someone please tell if there is a way to check if the sql command below produces any data or not? I'd like to be able to tell the jsp user that there is no data when the sql command returns no data. Thanks in advance.
liliya woland
Ranch Hand

Joined: Apr 11, 2006
Posts: 134
I got the testing for no data to work with the following code:
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: check sql:query for no data