Hey Jacob, What you want to do in my opinion is do a little reading to understand what JSTL actually is. The specification is a very good place to start since it is clearly and simply written. The specification can be found here:
http://jcp.org/aboutJava/communityprocess/final/jsr052/ Also, there are several really good books on JSTL. I personally never read them, but I hear good things about Shawn Bayern's book: http://www.amazon.com/exec/obidos/tg/detail/-/1930110529/103-4305142-2848646 Grtz, Martin van Dijken > -----Original Message----- > From: Jacob Wilson [mailto:[EMAIL PROTECTED] > Sent: maandag 6 oktober 2003 20:25 > To: [EMAIL PROTECTED] > Subject: Help needed... > > > Hi... > > I am new to tag libraries... I need to do a iteration using > the iterator tag... If anyone of you can help that would be great... > > Here's my question... > > I have an arraylist something like this... > > ArrayList valueList = (ArrayList) session.getAttribute("aList"); > > I generate a loop something like this... > > <table border="1" bgcolor="#cccccc" width="75%" align="center"> > <tr> > <td>Here are the values...</td> > </tr> > <%for (int i=0; i<valueList.size(); i++){%> > <tr> > <td><%= valueList.get(i) %></td> > </tr> > }%> > </table> > > Now, I want to use the iterator tag and generate a table > without using the for loop... > > My usebean is > <jsp:useBean id="first" > class="com.xxx.xxx.business.FirstBean" scope="session" /> > > If anybody out there could help me with this simple problem, > it would be great... > > Thanks in advance... > > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
