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
What are the various ways of session supervision in servlets?
Is that servlet is pure java object or not?
Can a jsp be called using a servlet?
What are the common methods that are included in the http servlet class?
What is the use of httpservletrequestwrapper?
What do you mean by cgi and what are its drawbacks?
Is servlet synchronized?
Describe in brief RequestDespatcher?
What is the difference between get and post methods?
Can you refresh servlet in client and server-side automatically?
Explain the servlet context.
Why filter is used in servlet?
Explain the steps involved in placing a servlet within a package?
Why doesn’t a servlet include main()?
What’s the difference between forward() and sendredirect() methods?