What method is used to create database connection in
servlets?
Answer Posted / raghu
DataSource.getConnection()
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Elucidate servlet attributes and its scope?
Given the request path below, which are context path, servlet path and path info?
What are the differences between forward() method and sendredirect() methods?
How will two or three servlets interact or communicate with each other?
What is a web container and what is its responsibility?
What is meant by Servlet? What are the parameters of service method?
What is cookie in servlet?
How do you invoke a servelt?
What is lazy loading and what is Generic Servlet Class?
What is servlet lazy loading?
How do we go with database connection and log4j integration in servlet?
What are some advantages of storing session state in cookies?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
Why is Servlet so popular?
Which protocol will be used by browser and servlet to communicate