what is the use of servlet engine?

Answer Posted / sivasubramanian.k

The Java Servlet API allows a software developer to add
dynamic content to a Web server using the Java platform.
The generated content is commonly HTML, but may be other
data such as XML. Servlets are the Java counterpart to non-
Java dynamic Web content technologies such as PHP, CGI and
ASP.NET. Servlets can maintain state across many server
transactions by using HTTP cookies, session variables or
URL rewriting.

The Servlet API, contained in the Java package hierarchy
javax.servlet, defines the expected interactions of a Web
container and a servlet. A Web container is essentially the
component of a Web server that interacts with the servlets.
The Web container is responsible for managing the lifecycle
of servlets, mapping a URL to a particular servlet and
ensuring that the URL requester has the correct access
rights.

A Servlet is an object that receives a request and
generates a response based on that request

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long will it take to learn java?

511


What does || || mean in math?

519


What is the difference between menuitem and checkboxmenu item?

788


Differentiate between overriding and overloading cases?

597


what is the difference between yielding and sleeping? : Java thread

527






What is better- service oriented or batch oriented solutions?

1541


Explain when classnotfoundexception will be raised ?

569


What is use of map in java?

519


Is java a digit method?

522


Can a class be declared as static?

685


What is a substring of a string?

569


What is an interoperable application in java ?

590


What is main difference between variable and constant?

536


How do you add an element to a hashset in java?

494


How java enabled high performance?

588