| Author |
display all record in Jsp
|
priyanaka jaiswal
Ranch Hand
Joined: Jun 03, 2011
Posts: 75
|
|
Hi All,
How to retrieve all record from Database and display in one Jsp page?
Thanks in advance
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
your question is not clear to me. what do you mean all values from database?
I assume you want to display all rows from a table(or join tables) in a jsp? if data is huge then implement paging.
*also i assumed you know how to display a value from database table.
|
 |
priyanaka jaiswal
Ranch Hand
Joined: Jun 03, 2011
Posts: 75
|
|
hi,
i want to display all 100 row of database in one jsp page.i dont want to use pagination.then how to do it?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16479
|
|
Just display them, then.
Are you having some particular problem with this task? What have you tried so far?
|
 |
RajeshKumar Nayak
Greenhorn
Joined: Jul 02, 2012
Posts: 6
|
|
First Retrieve All record From Database then
create session object
and just set value like
session. setAttribute("stdId",stdid);
after create a Jsp page then
write
${stdid}
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56152
|
|
|
Scoped variables should not be put into the session unless there's a good reason for it. Placing the scoped variables into request scope is usually most appropriate.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: display all record in Jsp
|
|
|