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
Write the code to get the server information in servlet.
How do I know if java is running on linux?
What are the life cycle methods of a servlet?
Whether we can get deadlock situation in servlets?
How the JSP file will be executed on the Server side?
Which event is fired at the time of session creation and destroy?
What do you mean by default initialization in java servlet?
What are some advantages of storing session state in cookies?
Which method is called when reference variable is passed in system.net?
how the HTML data stored in web server?
Explain url encoding?
What are the different methods of session management in servlets?
What is difference between server and servlet?
What are the different types of servlets?
What does the term localization refer to?