> hi frnd
>
> how to check resultset null or not ..i am using
> if(rs==null){}but if loop not executed. could u solve
> my problem
You're doing that correctly (only an if statement is not a loop).
Your if statement doesn't protect you against getting nulls back from the resultset's get methods, but that's a whole different story.