i have a 1000 objects in data base i need to display those
in jsp's how can i retrive those objects in jsp. (consider
the performance issue)

Answers were Sorted based on User's Feedback



i have a 1000 objects in data base i need to display those in jsp's how can i retrive those o..

Answer / nainasona

Try using Display Tag (Tag Libraries)

Is This Answer Correct ?    3 Yes 3 No

i have a 1000 objects in data base i need to display those in jsp's how can i retrive those o..

Answer / harini

By using scriplet tag in jsp we can get tho 1000 obbjects.
for example,
<%
----------------------
--------------- jdbc code
----------------------

while (rs.next())
{
---------------------
-------------------
%>


like this we can get 1000 objects.....
<%=
rs.getInt(1);
-----
-----
%>
<%
}
%>

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

What is the main functionality of RRL(Remote Reference Layer)?

3 Answers  


Define prototype?

0 Answers  


Can we sent objects using Sockets?

0 Answers  


how to get value in combo for updation?

1 Answers   CMC,


What will happens, when a thread cannot acquire a lock on an object?

2 Answers  






What is the initial state, When a thread is created and started?

3 Answers  


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

0 Answers  


What is JTS?

0 Answers  


What is thread deadlock? How to resolve thread deadlock?

3 Answers  


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  


How many layers are there in RMI and what are they?

1 Answers  


What is scalable, portability in the view of J2EE?

0 Answers  


Categories