File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Displaying data in Two Columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Displaying data in Two Columns" Watch "Displaying data in Two Columns" New topic
Author

Displaying data in Two Columns

Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
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

Joined: Sep 20, 2005
Posts: 8
Try this.


Jey
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jeyakumar Balasubramanian
Greenhorn

Joined: Sep 20, 2005
Posts: 8
Sorry, just do the following changes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying data in Two Columns
 
Similar Threads
2d arrays
2d arrays
2d arrays
Dynamic columns in datagrid
JDeveloper Business Components