MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
leebase
Post subject: STRUTS looping over ResultSet  PostPosted: Jun 28, 2004 - 03:44 PM
Veteran Member
Veteran Member


Joined: Mar 08, 2004
Posts: 127

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jun 28, 2004 - 04:27 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

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

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits