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 are the different class loaders used by jvm?

604


Why are my checkboxes not being set from on to off?

650


How are commas used in the intialization and iteration parts of a for statement?

591


What are the different approaches to represent an inheritance hierarchy?

592


What if the static modifier is removed from the signature of the main method?

711






Where can I ask questions and make suggestions about seam?

599


What is the difference between the font and fontmetrics classes?

567


What are various types of class loaders used by jvm?

502


What is a class loader? What are the different class loaders used by jvm?

587


What is the relationship between the canvas class and the graphics class?

546


Which container method is used to cause a container to be laid out and redisplayed?

671


What does module-relative mean?

581


Can constructors be synchronized in java?

623


Is the ternary operator written x : y ? Z or x ? Y : z ?

641


How can I avoid validating a form before data is entered?

556