• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying data in Two Columns

 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to seek help, regarding a logic, by which we would be able to display the data in an Array, in two parallel columns.

Example Output:

1 2
3 4
5 6


What would be the best way to access the elements in the array, without using JSP display tags?

Any help is much appreciated.

Cheers,
Ram.
 
Jeyakumar Balasubramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeyakumar Balasubramanian:
Try this.


Did you try this, Jey?
Did it print 2 columns in the webpage?
Or did it print 2 columns in the source but show all the numbers in one line in the webpage?
 
Jeyakumar Balasubramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, just do the following changes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic