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

What are the types of casting?

592


Can we override the static method?

572


What is basic syntax?

543


Can we execute a program without main?

531


How can constructor chaining be done using this keyword?

584






What is the purpose of javac exe?

555


How do I run java on windows?

525


What are the changes in java.io in java 8 ?

547


Is string a datatype?

548


How do I know if java is installed?

513


What is a 16 bit word?

559


placement papaers of spring computing technology

1020


Why do we use string?

571


What is the multi-catch block in java?

528


How do I stop concurrentmodificationexception?

504