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 need connection pooling code.....from
harpreet.your@gmail.com



i need connection pooling code.....from harpreet.your@gmail.com..

Answer / nagababu

ic--->Reference of Context
DataSource ds=(DataSource)ic.lookUp("JNDI name");
Connection con=ds.getConnection();
con.close();

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is the difference between the include() and forward() methods?

0 Answers  


What are the objects involved when a servlet receives a call from client?

0 Answers  


i have 500 jsp in my application ,with same forward name,it lokks for appropritae jsp from 1 to 500,but i want to send response to 498 page,what should i do

2 Answers   Caritor, Globerian,


Given the request path below, which are context path, servlet path and path info?

0 Answers  


Explain the steps involved in placing a servlet within a package?

0 Answers  


HTTP tunneling means what?

2 Answers  


What are the kinds of http requests?

0 Answers  


How can you use a servlet to generate a plain text instead of html?

0 Answers  


What is Server-Side Includes?

1 Answers   IBM, SAS,


Explain the difference between servletconfig and servletcontext in servlet?

0 Answers  


What are important features of Servlet 3?

0 Answers  


How native code can be used in a servlet?

0 Answers   IBM, TCS,


Categories