-
What are the uses of Servlets?
A servlet can handle multiple requests concurrently, and can synchronize requests. This allows servlets to support systems such as on-line conferencing. Servlets can forward requests to other servers and servlets. Thus servlets can be used to balance load among several servers that mirror the same content, and to partition a single logical service over several servers, according to task.
-
What is the difference between GenericServlet and HttpServlet?
GenericServlet is for servlets that might not use HTTP, like for instance FTP service.As of only Http is implemented completely in HttpServlet. The GenericServlet has a service() method that gets called when a client request is made. This means that it gets called by both incoming requests and the HTTP requests are given to the servlet as they are.
-
-
Is Servlets thread-safe?
Service() method of servlet class is not synchronize then how will it work as thread-safe for every request at the same time?
-
How Servlets flow happen to controller DAO and BO
Brief Explanation of Servlets flow of execution. How it moves from one page to another?
-
-
-
-
What is difference between Servlet and Applet
I don t KNOW
-
-
-
-
-
-
-
-
-
Forward & include methods
what are forward & include methods? Why these are used?
-
-
Variable declaration...
How we can declare the variable, which we can access through-out the session in servlet & jsp?
Servlets Interview Questions
Ans