This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes how to add table in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to add table in jsp" Watch "how to add table in jsp" New topic
Author

how to add table in jsp

duhit Choudhary
Ranch Hand

Joined: Apr 01, 2012
Posts: 64
Hi, I m new in jsp and i am writing a program for a web bot in which i have to add tabla in jsp page. in that table data will automatically inserted and table will continuously increases its rows as the web bot proceeded along the websight. can anybody help me out in this???
Thanks in Advance...
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
Use <table> <tr> <td> tags.


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 828
    
  13

Look at the "<c:forEach>" tag. It will require two nested loops; the inner one will do the td's and the outer one will do the tr's.

Give it your best shot and post your code and we'll help from there.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to add table in jsp
 
Similar Threads
Buffered Writer and For loop
Question about Thread
Error 500 when compiling servlet
html radio button add to database
Problem in compiling Class tag handler