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

What is servlets.

10 Answers   HCL, Infosys,


In my project i need to use either JSF or Struts.Here i need some clarification about them and which IDE is better for JSF development? Please post your valuble answers ASP!

4 Answers   Infosys,


What is the point of lambda expressions?

0 Answers  


What is dialect in java?

0 Answers  


What is a cookie in java?

0 Answers  






Why struts framework is used in java?

0 Answers  


What is gui in java with examples?

0 Answers  


Do I need to install jre if I have jdk?

0 Answers  


What is the difference between swing and awt components?

0 Answers  


What is the difference between lambdas and delegates?

0 Answers  


What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?

0 Answers  


what is the package for freshers in valuelabs.

0 Answers  


Categories