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 |
How can we refresh automatically when new data has entered the database?
Explain the difference between servletconfig and servletcontext in servlet?
What are the type of protocols used in httpservlet?
What is the difference between Servlets and Applets?
Can we use the constructor, instead of init(), to initialize servlet?
Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?
If some new data has entered the database, explain how can a servlet refresh automatically?
What are important features of Servlet 3?
How do you create a cookie using servlet?
What is the workflow of a servlet?
Explain the steps involved in placing a servlet within a package?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,