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
How are commas used in the intialization and iteration parts of a for statement?
What is the difference between the font and fontmetrics classes?
Describe, in general, how java's garbage collector works?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
For which statements does it make sense to use a label?
Why are some of the class and element names counter-intuitive?
What is ioc concept & explain it?
what are the activation groupworks?
What are the services in RMI ?
How a component can be placed on Windows?
Name three component subclasses that support painting?
What is mdb and what is the special feature of that?
Can you give me a simple example of using the requiredif validator rule?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What state does a thread enter when it terminates its processing?