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 flatmap in java8?

0 Answers  


How do I enable java in google chrome?

0 Answers  


What is native api in java?

0 Answers  


Why do we need new date and time api in java se 8?

0 Answers  


What is the resourcebundle class?

0 Answers  






What is jar file in java?

0 Answers  


Describe the principles of oops.

0 Answers  


1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?

0 Answers  


What is the use of servlet in java?

0 Answers  


how can we create the ui using netbeans,having the code?

0 Answers  


What is custom tag in java?

0 Answers  


What is cache in java?

0 Answers  


Categories