Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating tables

 
Bs Tan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vaib Gupta
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be a combination of CSS and JSP should do the trick.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64973
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's your code? What problems are you having with it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic