facebook

STRUTS looping over ResultSet

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #209130 Reply

    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?

    Lee

    #209132 Reply

    Riyad Kalla
    Member

    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

    Hope that got you started

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: STRUTS looping over ResultSet

You must be logged in to post in the forum log in