Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Loop problem

 
aamchi mumbai
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have value in vector.
Vector outV = new Vector();
Vector inV = new Vector();

inv.add("01/01/2005");
inv.add("one");
inv.add("two");
inv.add("test");

outv.add(inv);

inv=new Vector();
inv.add("01/01/2005");
inv.add("three");
inv.add("four");
inv.add("test");

outv.add(inv);

inv=new Vector();
inv.add("01/02/2005");
inv.add("five");
inv.add("six");
inv.add("test");

outv.add(inv);


now i want to diplay this value in jsp like this,

01/01/2005
one two
three four
01/02/2005
five six

Please help i am stuck here.....thank in advance
 
manojdesai sompadi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why dont you use map ?
 
Are you okay? You look a little big. Maybe this tiny ad will help:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!