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 is a policy?
what is meant by JRMP?
What modifiers may be used with an interface declaration?
What is ripple effect?
When is the best time to validate input?
Name three component subclasses that support painting?
What event results from the clicking of a button?
Is the ternary operator written x : y ? Z or x ? Y : z ?
Name the eight primitive java types.
What is the difference between system.out ,system.err and system.in?
What is a class loader? What are the different class loaders used by jvm?
Why use POJO when I can use hashmap
What is mdb and what is the special feature of that?
Do you think that java should have had pointers?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?