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 / raghu

DataSource.getConnection()

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various ways of session supervision in servlets?

1007


Is that servlet is pure java object or not?

1119


Can a jsp be called using a servlet?

1139


What are the common methods that are included in the http servlet class?

1039


What is the use of httpservletrequestwrapper?

1098


What do you mean by cgi and what are its drawbacks?

985


Is servlet synchronized?

1088


Describe in brief RequestDespatcher?

1137


What is the difference between get and post methods?

1047


Can you refresh servlet in client and server-side automatically?

1077


Explain the servlet context.

1144


Why filter is used in servlet?

994


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

1059


Why doesn’t a servlet include main()?

1048


What’s the difference between forward() and sendredirect() methods?

1015