What is the use of Servlets?
Answers were Sorted based on User's Feedback
Answer / abhijitbaji
servlets are the server side component.
it act as a controller.
it is used for request delegation too.
Is This Answer Correct ? | 58 Yes | 4 No |
Answer / shakir khan
servlets can handle multiple requests concurrently and can
syncronize requests.This allows servlet to support systems
such as on line processing.
servlet can forward requests to other servers or 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 servers according to task type
or organizational boundaries.
Is This Answer Correct ? | 34 Yes | 8 No |
Answer / suraj
servlet is an Controller. Servlet get the request from
client side and made a response on server side side and
it's sent to client side with http response object.
Is This Answer Correct ? | 23 Yes | 4 No |
Answer / maulik patel
It is a server side program that is responsible to capture
and interpret the clients Request and respond to teh client
with the requested information.
Is This Answer Correct ? | 19 Yes | 7 No |
Answer / priyanka prataprao pawde.
1.A Servlet does not run in a separate process. This removes
the overhead of creating a new process for each request.
2.It is a server side program that is responsible to capture
and interpret the clients Request and respond to the client
with the requested information.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ramareddy
A 'Servlet' is a Java programming language class used to
extend the capabilities of a server. Although servlets can
respond to any types of requests, they are commonly used to
extend the applications hosted by web servers, so they can
be thought of as Java Applets that run on servers instead of
in web browsers.
Is This Answer Correct ? | 4 Yes | 0 No |
What is servlet attributes and their scope?
How does tomcat servlet container work?
Difference between Include, Forward and sendRedirect in Servlet?
When we don't write any constructor for the servlet, how does container create an instance of servlet?
Name the different ways of session tracking.
What are different types of SessionTracking?
What is the disadvantage of cookies?
Can we get PrintWriter and ServletOutputStream both in a servlet?
How do servlets work?
Can servlet have a constructor ?
Can I override destroy() method of Servlets?
What is the workflow of a servlet?