What is servlet?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / siddu
servlet is a java program which runs in the web container
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
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 |
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 |
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 |
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 |
Answer / prasad
Servlet is a java cpmpatability program which is running
under the webserver.
| Is This Answer Correct ? | 1 Yes | 0 No |
How can you use a servlet to generate a plain text instead of html?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What do you mean by session tracking and also explain its techniques?
How do we share data using 'getservletcontext ()?
Why session tracking is needed?
request parameter how to find whether a parameter exists in the request object?
Which method the Servlet container call to create the instance of the servlet?
16 Answers emc2, JK Technosoft,
What is lazy loading and what is Generic Servlet Class?
What is dispatcher servlet?
Who is responsible to create the object of servlet?
What do you mean by chaining in servlet?
what is SSL?