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
What is the procedure of invoking different servlet in a different application?
What’s the difference between forward() and sendredirect() methods?
What do you mean by annotations in servlet?
What is servlet mapping?
How can we invoke another servlet in a different application?
What are different ways for authentication of servlet?
What is the advantage of Servlets when compared with other server side technologies?
Which interface should be implemented by all servlets?
What is servlet attributes and their scope?
How to get the IP address of client in servlet?
Why do we use sendredirect() method?
What's the advantages using servlets than using cgi?
Why servlet is mostly used?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
How can a servlet be used to generate plain text instead of html?