The Artima Developer Community
Sponsored Link

Java Answers Forum
JSP & Struts - displaying a collection

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mmutla

Posts: 10
Nickname: mmutla
Registered: Aug, 2003

JSP & Struts - displaying a collection Posted: Sep 19, 2003 6:14 AM
Reply to this message Reply
Advertisement
Can somebody please help me with this question? How can I display elements of a collection one at a time using JSP and Struts?
example:
say I have a collection containing Person objects,
public class Person {
      private String name;
      private String id;
      private String surname;
      // ... and many other variables for this class
  } 

and I want to display the details of each Person on each iteration only. Also is it possible to do this without having Java code in the JSP?

Thanx

Mmutla

Topic: Vertical Scrollbar not scrolling down automatically Previous Topic   Next Topic Topic: Need help , while using Strusts

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use