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)

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the ‘font’ and ‘fontmetrics’ class?

628


Can I run seam with jdk 1.4 and earlier?

548


which book is better for jdbc ,servlets and jsp

1639


what is meant by JRMP?

1805


What are the call back methods in entity bean?

550






Do we need to override service() method

1136


What are the benefits of detached objects?

577


how i secure my site with the https protocol.what are the steps?

1730


What is prototype?

598


What you mean by COM and DCOM?

607


What is abstract schema?

549


Why use a datasource when you can directly specify a connection details?

531


Brief description about local interfaces?

618


what is Activation Instantinator?

1901


Define the remote object implementation?

1991