Has any tried to use the iterate tag with a JDBC ResultSet?

I'm thinking there should be a simple way to hand the page the result
of a multiple-row query, without the page knowing where it came from.
So doing a little brainstorming ... 

Transfer the ResultSet to a collection? 

Is there a way that the IterateTag can access a ResultSet directly?
Would that also work with a collection, array, et cetera?

Extend ResultTag so that there are specific getters/setters for each
column in the query? (for prewritten queries.) Make it part of a
full-service query bean that can also be used in the Action object.

Develop a ResultSetTag?

Ideally, I'd like to be able to do things like use a "DatabaseServlet"
for testing, and then move up to a JDBC connection, without the JSPs
knowing the difference.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/


Reply via email to