-
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?
-
-
-
-
What is difference between Servlet and Applet
I don t KNOW
-
-
-
-
-
-
-
-
-
Forward & include methods
what are forward & include methods? Why these are used?
-
-
Applet trusted or not
by default applets are trusted or untrusted?
is it possible to connect with database using applet program using type1 driver? -
Servlets Interview Questions
Ans