November 15, 2002

Checking for Null Queries in JSP's

Okay. I was just beating myself up on how to do this. Bear with me. I had a series of nested queries. Inside I wanted variable logic based upon the recordset. IF the query was empty… You get the idea.

if ( rs.wasNull()) { .... }

Where rs is the RecordSet of the Query. Finding out that command kicked my butt. But it allows to check for Null Queries. Which opens a lot of doors.…for me.

Post Info

Tagged As Coding, Java Server Pages

Comments are Open (0)

Posted at 12:00 PM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Search
Comments on this post
Categories
Info
Tony Stephens
Copyright © 1995-2005
Site Version:
10
Licensed:
Creative Commons
Validate:
XHTML, CSS, 508, RSS
Subscribe
Blog-Fu, Link-Fu