GeeCON Prague 2014*
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
Author

Generating tables

Bs Tan
Greenhorn

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
Greenhorn

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

Joined: Jan 10, 2002
Posts: 61315
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Generating tables