What is servlet?

Answers were Sorted based on User's Feedback



What is servlet?..

Answer / tulasi vani

Servlets are server side java programs that are run on web
or application servers.They act as a middle layer between
the requests coming from the web browsers and databases

Is This Answer Correct ?    8 Yes 1 No

What is servlet?..

Answer / mirza

Servlet is a server side program which is written in java
langauge and it contains the bussiness logic funtion to
submit the appropriate response back to client.
We use servlet to develop the web component
which is deveploy by using web server like Apache.
It takes the HTTP request from client and it
generates the HTTP response back to client.
As per MVC design pattern it works like a
controller.

Is This Answer Correct ?    5 Yes 1 No

What is servlet?..

Answer / sudarsan

Servlet is an Interface.
It is a server side component.
servlet takes the request from the container and process
the request and send the response to the container.
so container manages the servlet life cycle.
servlet is a controller.

Is This Answer Correct ?    3 Yes 0 No

What is servlet?..

Answer / siddu

servlet is a java program which runs in the web container

Is This Answer Correct ?    3 Yes 0 No

What is servlet?..

Answer / shakir khan`

Servlets are java technology answer to Common Gateway
Interface(CGI).They are programs that run on a webserver
and bulid webpages.

Servlet is a java object that receives a request as
input,parses its data,performs some logic and issues
response back to the client.

Is This Answer Correct ?    2 Yes 0 No

What is servlet?..

Answer / devarathnam c,kotagudibanda(po

Hi...
Servlet is a java-web application component that extends
the Generic servlet or HttpServlet classes.Servlet runs in
web server.

Is This Answer Correct ?    2 Yes 0 No

What is servlet?..

Answer / prashant

Servlet is a server side software component written in java
that dynamically extends the functionality of a server

Is This Answer Correct ?    1 Yes 0 No

What is servlet?..

Answer / vijaya

servlet is a technology from sun which is used to develop
server side components.Servlets as a server side component
is responsible to receive the request from the client and
process the request and send the response back to the client

Is This Answer Correct ?    1 Yes 0 No

What is servlet?..

Answer / a.srinivas rao

servlet is a web component used to deveop Web
Applications,they are dep;oyed on the server to process the
user requests.
or
servlet is a java program which runs on the server machine
to proess the user request and to give rsponse.

Is This Answer Correct ?    1 Yes 0 No

What is servlet?..

Answer / prasad

Servlet is a java cpmpatability program which is running
under the webserver.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Servlets Interview Questions

Explain the difference between generic servlet and http servlet?

0 Answers  


What is forward() and include() of servlets RequestDispatcher interface?

6 Answers   HCL,


What is the role of the webserver?

4 Answers  


Explain web application directory arrangement?

0 Answers  


Which are the different ways you can communicate between servlets?

0 Answers  






Hi friends am newbie to servlet. How code reusability easy in servlet. why not in jsp . here reusabillity means only javabeans or any thing else.

1 Answers  


How to invoke a Servlet?

2 Answers   Mastek,


Whether thread can be used in servlets?

0 Answers  


What do you mean by interservlet communication?

0 Answers  


What is the difference in between the httpservlet and generic servlet?

0 Answers  


How do I use cookies to store session state on the client?

0 Answers  


What is difference between Forward() and sendRedirect() methode?

14 Answers   Polaris,


Categories