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

Which javutil classes and interfaces support event handling?

0 Answers  


What is JNI?

1 Answers   Google, TCS,


what is an isolation level?

0 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


diff mvc1 and mvc2 wahts is mean by servlet chaining?

1 Answers   SolutionNET,






Will the general public have access to the infobus apis?

0 Answers  


Which class is the immediate superclass of the menucomponent class?

0 Answers  


what is difference between object state and behaviour?

3 Answers  


If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry.

2 Answers  


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

0 Answers  


Can we have more than one action servlet?

7 Answers   HP,


whats is mean by tiles in struts

2 Answers   SolutionNET,


Categories