What method is used to create database connection in
servlets?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
either using DriverManager.getConnection
(or)
DataSource.getConnection()
| Is This Answer Correct ? | 10 Yes | 0 No |
What is preinitialization of a servlet?
What is Difference between JavaBeans and taglib directives?
why are using HttpServlet in realtime projects and why are not using Genericservlet
What are the new features added to servlet 2.5?
How a servlet is unloaded?
What is the functionality of actionservlet and requestprocessor?
What is the need of session tracking in web application?
What is DSN and System DSN and what is the difference between them?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
can we use more than one controller in web application
Difference between jakarta tomcat and apache Tomcat?
How is the get () method different from the post() method?