Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1100


What is the difference between the font and fontmetrics classes?

1164


Describe, in general, how java's garbage collector works?

1040


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1042


For which statements does it make sense to use a label?

1086


Why are some of the class and element names counter-intuitive?

1152


What is ioc concept & explain it?

1095


what are the activation groupworks?

2207


What are the services in RMI ?

2389


How a component can be placed on Windows?

2861


Name three component subclasses that support painting?

1090


What is mdb and what is the special feature of that?

1058


Can you give me a simple example of using the requiredif validator rule?

1132


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

3019


What state does a thread enter when it terminates its processing?

1070