sql:dbQuery and sql:dbNextRow

Hi everybody!

In a jsp page, I use the sql:dbQuery and sql:dbNextRow tags. The sql:dbQuery tag has the output parameter set to "JDBC". In the case that the result dataset of the query is empty and the sql:dbNextRow tag takes the control, the server throughs an error page for null pointer.

My question is how can I check the result dataset (wether is empty or not) of the query before sql:dbNextRow tag take control and cause problems.

Thanks everybody in advance!!!

[491 byte] By [pasiga] at [2007-10-1 22:22:14]
# 1
I need help pleaseee!!!!!!!!!!!I want to know if I can control the result dataset of the query before entering sql:dbNextRow tag.Tanks!!
pasiga at 2007-7-13 8:36:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Can anybody help me?
pasiga at 2007-7-13 8:36:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...