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
What are the different class loaders used by jvm?
Why are my checkboxes not being set from on to off?
How are commas used in the intialization and iteration parts of a for statement?
What are the different approaches to represent an inheritance hierarchy?
What if the static modifier is removed from the signature of the main method?
Where can I ask questions and make suggestions about seam?
What is the difference between the font and fontmetrics classes?
What are various types of class loaders used by jvm?
What is a class loader? What are the different class loaders used by jvm?
What is the relationship between the canvas class and the graphics class?
Which container method is used to cause a container to be laid out and redisplayed?
What does module-relative mean?
Can constructors be synchronized in java?
Is the ternary operator written x : y ? Z or x ? Y : z ?
How can I avoid validating a form before data is entered?