what is the use of servlet engine?

Answers were Sorted based on User's Feedback



what is the use of servlet engine?..

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

what is the use of servlet engine?..

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

Post New Answer

More Core Java Interview Questions

explain the difference between jdk and jvm?

0 Answers  


What are assembly attributes?

0 Answers  


can java object be locked down for exclusive use by a given thread? : Java thread

0 Answers  


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

1 Answers   Rolta, TCS,


What is proper subset?

0 Answers  






10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;

2 Answers  


What is unicode?

1 Answers  


What is the difference between Synchronizing mehtod & Synchronizing block?

2 Answers  


Can we have more than one package statement in the source file?

0 Answers  


how exactly garbage collection take place?

4 Answers  


"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)

3 Answers  


What methods are called, When we navigate from one applet to another applet?

1 Answers  


Categories