File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes HTML table with ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "HTML table with ajax" Watch "HTML table with ajax" New topic

HTML table with ajax

Neeraj jain
Ranch Hand

Joined: Jun 18, 2013
Posts: 108
i am making a table which fetches the record from the database but it is fetching only one record i want to show all the records onto the table via ajax so please help me



Arvind Sri

Joined: Apr 09, 2012
Posts: 4

I think the issue is here. You are only writing the first row in the out stream.

It should be

Cheers !!
- Arvind Srivastava
Neeraj jain
Ranch Hand

Joined: Jun 18, 2013
Posts: 108

i also thought that it is that simple i've alredy tried it but after that not even getting a single record onto my table
It is sorta covered in the JavaRanch Style Guide.
subject: HTML table with ajax
jQuery in Action, 3rd edition