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

What is a policy?

2260


what is meant by JRMP?

2290


What modifiers may be used with an interface declaration?

1094


What is ripple effect?

1037


When is the best time to validate input?

1076


Name three component subclasses that support painting?

1029


What event results from the clicking of a button?

1192


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

1066


Name the eight primitive java types.

1085


What is the difference between system.out ,system.err and system.in?

1065


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

1068


Why use POJO when I can use hashmap

2613


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

1024


Do you think that java should have had pointers?

1025


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

1014