<%=rs.getString(1)%> to populate the resultset objects in JSP.
Here you are not populating a "resultset" object, it looks like you are retrieving data "from" a "resultset" object that has been already populated. Either way, it is a poor design if you are calling any methods of a
JDBC object from within
JSP scriptlet code, e.g. ResultSet
An ArrayList is a good choice for getting data to the Presentation tier from the Business tier. Check out the useBean tag of the standard JSP tag library and also check out the iterate tag of the
Struts tag library.