What is servlets.
Answers were Sorted based on User's Feedback
Answer / dillip
servlet is a java program that runs inside a web
container,It is a server side program which is used to
develope web-application.
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / leelanarasimhareddy
A Servlet is an object that receives a request and generates
a response based on that request. The basic servlet package
defines Java objects to represent servlet requests and
responses, as well as objects to reflect the servlet's
configuration parameters and execution environment
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / ramakrishna664
servlet is a java program that runs on web server, accepts
requests from web browser(requests submit from HTML form),
processes it and response back to client(browser).
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / vijay arasan.thamil
Servlet is a server side programming Language.
It don't have main() method to invoke. Servlet will invoke
by Web container. in fact, Web container is also one java
program. we just over write the doGet() or doPost() method
with parameters of HttpServletRequest and
HttpServletResponse
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / paletipatisrinu
Servlet is a server side programming Language.servlet is a
single instance multiplethreds of a serverside companent of
a webapplication.
Reason:Becasue when 100 request given to servlet only one
object created among all these 100 request are 100 threads
will be crated
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / amit kumar rai
servlet is a java program that runs inside a web
container,It is a server side program which is used to
develope web-application.Every Servlet should extends the
Http Servlet Class & overwrite the doget,dopost or both
methods. Both of these methods provides the
HTTPServletRequestObject & HTTPServletResponseObject.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sumit
servlets is java program runs on web container and main
thing about it is that "html in java".
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rice
servlet is a web technology from sun micro systems.
servlet is a J2EE technology.
servlet is a specification which is used by container
manufacturers to develop the web containers.
servlet is an API which is used by web component developer
to develop the web applications.
Is This Answer Correct ? | 1 Yes | 0 No |
Servlet is a small java program that work in server side(web container).It works as a controller in the server side because when any request send(in java code form) from the any web browser to the server side then servlet manipulate this request and give response(in html form)to the web browsers.We always use request and response object that is object of HttpServletRequest and HttpServletResponse respectively.So we can say that servlet always run in server side.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / senthil kumaran gurusamy
Servlets are Modules of java code that run in a server
application to answer the client request. They are not tied
to any client - server technology but commonly used in http.
Is This Answer Correct ? | 1 Yes | 2 No |
What is java persistence api used for?
Why bean class is used in java?
What is Serialization?
What is meant by code profiling?
What is jboss in java?
why is java not 100% oops?
What are struts java?
When a thread is created and started, what is its initial state?
What is java lang noclassdeffounderror?
What is the difference between deep copy and shallow copy in java
What is the current code for the Java 5 code class Root { ?
What is a service layer in java?