In the DAO class
import javax.servlet.jsp.jstl.sql.Result;

Statement stmt = conn.createStatement ();
String query = "select * from business";
rs = stmt.executeQuery(query);
Result result = ResultSupport.toResult(rs);
...
...

in the action class
Result result = BusinessDAO.getBusinessList();


its working good for me using Result object..
but i would like to use a collections object instead so that i can make use
of the <logic:iterate> tag
any advice?
thanks

Reply via email to