ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is the use of servlet engine?
 Question Submitted By :: Gopalraop
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the use of servlet engine?
Answer
# 1
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 ?    1 Yes 1 No
Sivasubramanian.k
 
  Re: what is the use of servlet engine?
Answer
# 2
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 ?    1 Yes 0 No
Ajay Dhingra
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing? KPIT5
In what circumstances, compiler will supply a default constructor for a class?  4
What are the limitations for static method?  3
Explain method overloading and overriding?  6
What is static binding and where it occurs?  2
Name two subclasses of the TextComponent class?  2
using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.  3
what is the life cycle of jsp? Photon2
How many objects are created for a singleton class Ness-Technologies4
What is meant by event handling?  1
Difference between an argument and a parameter? HCL4
what are Checked & Unchecked exceptions ?  2
How the threads are synchronized? BMC2
what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!  5
Howmany classes that package java.applet.* contains? TCS1
Name the method that is used to set a TextComponent to the read-only state?  1
explain System.out.println IBM41
How to make a class immutable? Bosch6
Explain Stream Tokenizer?  3
Program to output as below formate: 1 2 3 4 5 6 7 8 9 10 Huawei2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com