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 |
What do you mean by httpservlet?
Write a program to show the functionality of doget and dopost method?
What is the dispatcher servlet?
Why do we have servlet filters?
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?
Write a command to get actual path of a servlet to the server?
What do you mean by annotations in servlet?
What is httpservlet class?
What is the use of java servlet api?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is servlet name in web xml?
Tell us something about servletcontext interface.