This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Generating tables 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 "Generating tables" Watch "Generating tables" New topic

Generating tables

Bs Tan

Joined: Nov 15, 2009
Posts: 1
Hi All,

How do i print out a times table in table form for 1-4 with different colors for different columns.
i.e. 1st row is 1,2,3,4,5,6..
2nd row is 2,4,6,8,10,12,14..
3rd row is 3,6,9,12,15,18,..

How do I create it in JSP? The table is about 4x6 cells

manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 181
I didn't exactly understand the question here.

You can spit out the HTML table from JSP dynamically and there are loads of examples available on the web.

love your job and not your company;
...because you never know when your company will stop loving you!
Vaib Gupta

Joined: May 11, 2009
Posts: 15
May be a combination of CSS and JSP should do the trick.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

Where's your code? What problems are you having with it?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: Generating tables
Similar Threads
Clone a record in the database or element in an arrayList
JTable help
updates to table
Detecting a Table Row Change
forward to another page using buttons