GeekInterview.com
  I am new, Sign me up!
 

Servlets Interview Questions


Servlets Interview Questions

Questions: 170
Comments: 725
 Servlets Tags
 Showing Questions 1-10 of 170 Questions
[1] 2 3 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 Servlets Interview Questions
Sorting Options :  

Name the internal objects of JSP? 
Latest Answer: request response session application config page pageContext out exception ...
Read Answers (6) | Asked by : sejal k

What is the different between session and cookies? Where is the session information stored? In RAM of the Client or Disk of the Client or it is stored on the server?  
Latest Answer: well, the purpose of session and cookie is the same --- to maintain the state [in a typical web application, based on http protocol]Session -- Its stored at server side [containers memory, RAM] and usually the amount of data stored is more ...
Read Answers (4) | Asked by : jpjese

Describe the functions of Controller? 
Latest Answer: Controller as the name specifies is a part of the application server that controlles the whole application.In MVC(if you are aware of model,view,controller) the maintasks of the controller are:1> Take the user inputs from the request and understand what ...

Why do we use underscore(_) symbol only with jspService() method? 
Latest Answer: Any methods are not be overriden by end users are typically written starting with '-'. _jspService method is not also be overriden by end users.Container invoke this method for each request, passing the request and response object. ...

what are forward & include methods? Why these are used? 
Latest Answer: Both forward() and include() are concrete methods of the RequestDispatcher class in the Servlet context. forward() - this method is used to show a different resource in place of the servlet originally requested. This resource may be a jsp, a servlet etc. ...

What is the Difference Between Web Container and Web Server?(Asked in Polaris Interview , held on April 11, Chennai) 
Latest Answer: The Webserver: Just Receive the request from the client and forward to Webcontainer, and do the Response vice versa.Web Container: Creates HTTP Request and Response for the Servlet, calls the appropriate servlet service method (doGet or doPost) to service ...

what is difference between servlet container and servlet config? 
Latest Answer: servlet container is part of web server which provides run time environment for servlets i.e it manages the entaire life cycle for the servlets like it creates instance,initialization,processing and destroying it.   ...

For overriding init()method any rules are there 
Latest Answer: There are no necessary conditions to override this particular method. In case you are overridding init(ServletConfig config), then make sure to call super.init(config). ...

Latest Answer: Custom Servlet is user defined servlet which extends HttpServlet class. ...
Read Answers (1) | Asked by : prasad

Explain the server process how will server identifies that and response to corresponding servlet and how it sends to that response to correct user ?  
Latest Answer: After we request for a jsp. There is a servlet called pagecompilor , which first parses the .jsp page to .java page.then compiles that .java page and produces .class page.EX.if we have mypage.jsp firse  myPage-jsp.javathen myPage_jsp.classthen the ...
Read Answers (1) | Asked by : krishna

View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape