What is servlets.

Answers were Sorted based on User's Feedback



What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

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

What is servlets...

Answer / kuldeep vishwakarma

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

What is servlets...

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

Post New Answer

More Java Related AllOther Interview Questions

Which type of stream is in java?

0 Answers  


can anyone tell me what kind of questions are asked for core java exam in aptech

0 Answers  


How do I install java re?

0 Answers  


program A and B are analysed and found to have worst case running time greater than 150NlogN and N*N respectively. which program has the better guarantee after the running time for the large values of N(N>10000)? which program has the better guarantee for the running time of small program N (N<100)? which program will run faster on average for N=1000?

0 Answers   St. Pauls University,


What is data persistence in java?

0 Answers  






What are the types of cookies in java?

0 Answers  


Why dependency injection is used in java?

0 Answers  


What is connection pooling in java?

0 Answers  


Which is better openjdk or oracle jdk?

0 Answers  


Are streams faster than for loops?

0 Answers  


Can we install jre without jdk?

0 Answers  


What is a jvm?

0 Answers  


Categories