Hi Rusmawidya,
Yes, you can very well check the resultset status by
Boolean lb_stat = TRUE ;
IF (lb_stat.equals(rs.next()) {
...}
ELSE {
... Do nothing;
}
Regards
Amit
Rusmawidya Ustati wrote:
> Hi,
>
> I have a question about a database to servlet connection.
> Does anyone know how to check if a query returns a null value in the
> ResultSet.
> Thanks.
>
> Rusma
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html