File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63857

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Generating tables
It's not a secret anymore!