MyEclipse: STRUTS looping over ResultSet leebase - Jun 28, 2004 - 03:44 PM Post subject: STRUTS looping over ResultSet
Ok, I realize this is not a "MyEclipse" specific question and would welcome being referred to a good Struts online forum.
I want to avoid scripting java in my jsp's and use the tags like a good struts citizen. However, the logic:iterate tag does not seem to be built with ResultSets in mind. I don't see the reason for having to convert my ResultSet into a Collection/Map etc. of objects, and pay the performance penalty of doing so, just to put my ResultSet in a form that is usable by the logic:iterator tag.
Am I missing something? Is there a looping mechanism that works with ResultSet's?
Leesupport-rkalla - Jun 28, 2004 - 04:27 PM Post subject:
Lee,
1) Subscribe to the struts-user mailing list, these guys are all very nice and very helpful
2) Look at the SQL tag library from the JSTL, this is probably what you want: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL7.html#wp63722