You can't. And that's on purpose since that's not a very good practice. Result sets are tied to database connections which are resources that should be freed as soon as possible. The customary approach is to fetch the data from the result set at the lowest level possible (most definitely not within the
JSP) and use it to populate EL-friendly structures (Collections, Maps and Beans) that are subsequently passed to the JSP page for display.
Since you are using the JSTL
you should be aware that it is most effective when used in a Model 2 environment -- one in which processing takes place in
servlet controllers, while JSPs are used solely for the purpose of generating the display.
[ March 20, 2005: Message edited by: Bear Bibeault ]