User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 456,565 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,581 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1087 | Replies: 0
Reply
Join Date: Sep 2006
Posts: 162
Reputation: Cerberus is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 14
Cerberus Cerberus is offline Offline
Junior Poster

Resultset and JSTL

  #1  
Oct 20th, 2007
Hi. Is it possible to use a resultset from a scriplet in a <c:forEach> loop?

E.g.

results = prepstatement.executeQuery();
request.setAttribute("results", results);


<c:forEach items="${results.rows}" var="row">
      row.fieldValue <br />
</c:forEach>

Thanks.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JSP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 5:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC