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
Is servlet synchronized?
What is cookie? Why is cookie used?
How do I use cookies to store session state on the client?
What are the types of servlets? Explain
What are common tasks performed by Servlet Container?
What are the mechanisms used by a servlet container for maintaining session information?
Explain the difference between servlet and cgi?
What are the types of protocols supported by httpservlet ?
Why do you use session tracking in httpservlet?
What is preinitialization of a servlet?
What is url encoding and url decoding
Is java servlet still used?
Why filter is used in servlet?
What are the different methods involved in the process of session management in servlets?
How can the session in servlet can be destroyed?