-
-
-
-
-
-
Difference between single thread and multi thread model servlet
Answered by Scott on 2005-05-12 10:39:32: A servlet that implements SingleThreadModel means that for every request, a single servlet instance is created. This is not a very scalable solution as most web servers handle multitudes of requests. A multi-threaded servlet means that one servlet is capable of handling many requests which is the way most servlets should be implemented. A single...
-
-
-
-
-
-
-
-
-
-
-
-
If you want a servlet to take the same action for both GET and POST request, what should you do?
Simply have doGet call doPost, or vice versa.
-
-
Servlets Interview Questions
Ans