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

Can I have multiple main methods in the same class?

0 Answers  


What is static class in java?

0 Answers  


when Can an object reference be cast to an interface reference?

1 Answers  


Why doesn’t the main method throw an error with no arguments?

0 Answers  


What is jndi datasource in java?

0 Answers  






Can an application have multiple classes having main method?

0 Answers  


Which instutute is offering course for rhino jain slee

0 Answers  


What is the first argument of the string array in main method?

0 Answers  


What is stateless and stateful in java?

0 Answers  


How the java is platform independent?

1 Answers   TCS,


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

0 Answers  


What are the risks in java security? : java security

0 Answers  


Categories