I have always used ResultSet.
Now I need to scrooll through the data on JSP page.

And I found out that I need to use CachedRowSet.
Unfortunately, my runtime has only javax.sql.RowSet.

So, I'm trying what's available

I have the following code fragment

1. RowSet resSet = null;
2. resSet.setDataSourceName(DBConstants.DATA_SOURCE);

When executing the second line I get "Non-application exception occurred..."

Can someone explain me what I'm doing wrong?

Thank you.