GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  I-Flex  >  Technical
Next Question 
 Technical  |  Question 1 of 27    Print  
In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object ?
(a) getServletInfo()
(b) getInitParameters()
(c) getServletConfig()


  
Total Answers and Comments: 2 Last Update: August 20, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 02, 2005 06:05:59   #1  
shashank        

RE: In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the Servl...
c) getServletConfig()
 
Is this answer useful? Yes | No
August 20, 2008 03:34:32   #2  
ankush6012 Member Since: August 2008   Contribution: 2    

RE: In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object ? (a) getServletInfo()(b) getInitParameters()(c) getServletConfig()
Answer b
 
Is this answer useful? Yes | No

 Related Questions

In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object ? (a) getServletInfo()(b) getInitParameters()(c) getServletConfig()

EjbCreate() method of CMP bean returns (a) null (b) Primary Key class (c) Home Object (d) Remote Object
(a) Explanation: ejbCreate() method of BMP bean returns the Primary Key, where as ejbCreate() method of CMP bean returns null. 

What happens if Database Updation code is written in ejbPassivate() method and if this method is called ? (a) Exception is thrown (b) Successfully executes the Database Updation code (c) Compilation error occurs indicating that Database Updation code should not be written in ejbPassivate() (d) ejbStore() method is called

Latest Answer : Life Cycle of Session Bean is: public void Create() public void  ejbActivate () public void  ejbPassivate () public void  remove () public void  setSessionContext ( SessionContext  ...

A servlet implements Single Thread model public class BasicServlet extends HttpServlet implements SingleThreadModel { int number = 0; public void service(HttpServletRequest req, HttpServletResponse res) { } }

Which is thread safe ? (a) Only the variable num (b) Only the HttpServletRequest object req (c) Both the variable num & the HttpServletRequest object req

A method is defined in a class as : void processUser(int i) { } If this method is overriden in a sub class, (a) the new method should return int (b) the new method can return any type of values (c) the argument list of new method should exactly match that of overriden method (d) the return type of new method should exactly match that of overriden method

1. what are the different types of design patterns in core java ?2. what do we mean by value object design pattern ?
Read Answers (2) | Asked by : ranjan

1.What will be the output?boolean a = false if (a=true){ System.out.ptinln("Hello");}else{ System.out.ptinln("GoodBye");}2. Hashmap , hashset , ArrayList(true, true, false)3.Which need 
Latest Answer : answer is true ...
Read Answers (2) | Asked by : Vartika


 Sponsored Links

 
Related Articles

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

Microsoft AJAX Library - Creating Object Members on the Fly

Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He
 

Microsoft AJAX Library - Object-Oriented JavaScript

Object Oriented JavaScript Objects and classes are implemented differently in JavaScript than in languages such as C VB NET Java or C However when it comes to using them you ll feel on familiar ground You create objects using the new operator and you call their methods or access their fields using t
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

N-Tier Architecture: Data Access Layer

N Tier Architecture Data Access Layer In an N Tier architecture the data access layer consists of components that aid one in the process of accessing the database When it is used correctly the data access layer serves as an abstract level for the structures of the database Simple changes that are ma
 

How to Access C++ Class Members

How to Access C Class Members In this C tutorial you will learn how to access Class members dot operator or class member access operator difference between struct and class and  scope resolution operator mosgoogle center It is possible to access the class members after a class is defined an
 

Object-Oriented Client-Server Internet

Object Oriented Client Server Internet OCSI Environments as IT Infrastructure Client Server Basics Object Oriented Client Server Internet OCSI environments provide the IT infrastructure for supporting OCSI applications For our purposes infrastructure refers to operating systems networks middleware
 

JavaScript String Object

JavaScript String Object In this JavaScript tutorial you will learn about String Object purpose of string object in JavaScript purpose of string object indexof method lastIndexOf method and substring method along with syntax and example mosgoogle center Purpose of String Object in JavaScript The mai
 

JavaScript Date Object

JavaScript Date Object In this JavaScript tutorial you will learn about date object and methods of date object explained along with syntax and example mosgoogle center JavaScript Date Object Usage of Date Object Date object of Java Script is used to work with date and times General syntax for defini
 

What are Data Access Tools

Data access is the process of entering a database to store or retrieve data. Data Access Tools are end user oriented tools that allow users to build structured query language (SQL) queries by pointing and clicking on the list of table and fields in the data warehouse. Thorough computing history, t
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape