What is the use of Servlets?

Answers were Sorted based on User's Feedback



What is the use of Servlets?..

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

What is the use of Servlets?..

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

What is the use of Servlets?..

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

What is the use of Servlets?..

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

What is the use of Servlets?..

Answer / sankar

servlets are used to develop web applications.

Is This Answer Correct ?    13 Yes 9 No

What is the use of Servlets?..

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

What is the use of Servlets?..

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

Post New Answer

More Servlets Interview Questions

What are the difference between RMI and Servlets?

0 Answers  


What is the type of method for sending request from http server?

0 Answers  


Can we use the constructor, instead of init(), to initialize servlet?

0 Answers  


Why filter is used in servlet?

0 Answers  


What is the difference between servlet and jsp?

0 Answers  






How can a servlet be used to generate plain text instead of html?

0 Answers  


What are all the protocols supported by httpservlet?

0 Answers  


Hi Friends, Can we make any method thread safe withour synchronized keyword?

2 Answers  


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

0 Answers   ProKarma,


What is cgi and what are its drawbacks?

0 Answers  


Can we override destroy method in servlet?

0 Answers  


Can you send an authentication error from a servlet?

0 Answers  


Categories