what is the use of servlet engine?
Answers were Sorted based on User's Feedback
Answer / ajay dhingra
Servlets exist in and are managed by the servlet engine in
the Application Server. The servlet engine is an internal
object that handles all servlet meta functions. These
functions include instantiation, initialization,
destruction, access from other components, and configuration
management
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / 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 |
Which sort is best in java?
int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;
i need income tax program using java inheritance concept. could u please help me?
Is void a return type?
What are extraneous variables examples?
Can we overload run() method in java?
What is incompatible types in java?
What are null interfaces? Give some examples?
Can a function return a function?
Difference between comparator and comparable in java?
How objects are stored in java?
What is the difference between declaration and definition in java?