This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply 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: 180
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: 56529
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Generating tables
 
Similar Threads
forward to another page using buttons
Detecting a Table Row Change
Clone a record in the database or element in an arrayList
JTable help
updates to table