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 |
Why filter is used in servlet?
How do you deal property files in servlet?
What is context in servlet?
What is httpservlet and how it is different from genericservlet?
What is the difference between servlet and filter?
difference between forward and sendredirect
What is http servlet? Explain with the help of an example.
What is the type of method for sending request from http server?
What are the ways to handle multi-threading in servlets?
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
What is setattribute in servlet?
Hi Friends, Can we make any method thread safe withour synchronized keyword?