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 |
Difference between doget and dopost?
Is it good idea to create servlet constructor?
Explain the working of service() method of a servlet.
Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?
How can a servlet refresh automatically if some new data has entered the database?
3 Answers Citi Bank, CitiGroup, IBM, Satyam,
Why do we need servlet filter?
what is the advantage of using Servlets over CGI programming?
Explain the role of dispatcherservlet and contextloaderlistener.
What is servlet and its use?
What does the term localization refer to?
What do you mean by httpservlet?
What is httpservlet class?