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...

What method is used to create database connection in
servlets?

Answer Posted / ravikiran(aptech mumbai)

either using DriverManager.getConnection
(or)
DataSource.getConnection()

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is servlet synchronized?

1016


What is cookie? Why is cookie used?

1006


How do I use cookies to store session state on the client?

907


What are the types of servlets? Explain

1195


What are common tasks performed by Servlet Container?

1205


What are the mechanisms used by a servlet container for maintaining session information?

972


Explain the difference between servlet and cgi?

1106


What are the types of protocols supported by httpservlet ?

1165


Why do you use session tracking in httpservlet?

1068


What is preinitialization of a servlet?

972


What is url encoding and url decoding

1087


Is java servlet still used?

994


Why filter is used in servlet?

933


What are the different methods involved in the process of session management in servlets?

1204


How can the session in servlet can be destroyed?

1122