This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » JSP
Bookmark "HTML table with ajax" Watch "HTML table with ajax" New topic
Author

HTML table with ajax

Neeraj jain
Ranch Hand

Joined: Jun 18, 2013
Posts: 104
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

index.html


db_fetch.jsp



Arvind Sri
Greenhorn

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: 104
@Arvind

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
 
GeeCON Prague 2014
 
subject: HTML table with ajax