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 life cycle of Servlet?
How we can call a jsp from the servlet?
what is servlet and what you get when we use servlets?
what are the different services provided by the web server?
What is the need of servlet filters?
What are the differences between forward() method and sendredirect() methods?
What is session variable in servlets?
why are extending GenericServlet and why are extending HttpServlet explain?
Is java servlet still used?
How do you track a user session in servlets?
What is session?
What is httpservlet class?