GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Computer Associates  >  Java
Next Question 
 Java  |  Question 1 of 23    Print  
What exception is thrown when Servlet initialization fails ?
(a) IOException
(b) ServletException
(c) RemoteException
(b)



  
Total Answers and Comments: 2 Last Update: October 04, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 16, 2005 09:35:47   #1  
Sumit Sengar        

RE: What exception is thrown when Servlet initialization fails ?(a) IOException (b) ServletException (...
ServletException
 
Is this answer useful? Yes | No
October 04, 2005 03:01:04   #2  
abhishekgowl@yahoo.co.in Member Since: October 2005   Contribution: 9    

RE: What exception is thrown when Servlet initializati...
Since all us we know the init parameter is passed by the servlet container since if in any initialization process if any Exception is Thrown by the ServletContainer i e simply a ServletException
 
Is this answer useful? Yes | No

 Related Questions

What exception is thrown when Servlet initialization fails ?(a) IOException (b) ServletException (c) RemoteException
(b) 

How can a Servlet call a JSP error page ?(a) This capability is not supported. (b) When the servlet throws the exception, it will automatically be caught by the calling JSP page. (c) The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named "javax.servlet.jsp.jspException". (d) The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie.
(c) 

Which method is called first each time a Servlet is invoked ?(a) Start() (b) Run() (c) Servive() (d) init()
(d) 

Which is true about Servlets (a) Only one instance of Servlet is created in memory (b) MultiThreading is used to service multiple requests (c) Both (a) & (b)
(c)  

What is Temporary Servlet ? (a) Servlet that is destroyed at run time (b) Servlet that exists for a session (c) Servlet that is started and stopped for each request
(c) EXPLANATION: A temporary servlet is started when a request arrives and shut down after the response is generated. A permanent servlet is loaded when the server is started and lives until the  

Although it is not commonly done, what will you do if you want to have multiple instances of Servlet in memory and if they have to share the execution of a user request ? (a) Defnie Single Thread model (b) Cannot be done


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

JavaScript Exception Handling – Part II

JavaScript Exception Handling Part II In this JavaScript tutorial you will learn about exception handling viz try… catch finally statement and nested try… catch statements along with syntax and examples mosgoogle center try… catch finally Statement JavaScript has a
 

JavaScript Exception Handling – Part I

JavaScript Exception Handling Part I In this JavaScript tutorial you will learn about Exception Handling Catching errors in JavaScript Using try catch statement and throw in JavaScript along with syntax and examples mosgoogle center It is impossible for a programmer to write a program without erro
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

Sample Resume - Computer Manager Resume

Sample Resume Computer Manager Resume This article provides a sample resume format for those applying for the post of Computer Manager You can make use of this sample resume format while preparing your actual resume mosgoogle The computer manager is like a captain of the ship since they are responsi
 

Sample Resume - Computer Operator Resume

Sample Resume Computer Operator Resume This article provides a sample resume format for those applying for the post of Computer Operator You can make use of this sample resume format while preparing your actual resume Computer Operator Resume mosgoogle Computer operator takes important tasks in an o
 

Sample Resume - Computer Engineer Resume

Sample Resume Computer Engineer Resume This article provides a sample resume format for those applying for the post of Computer Engineer You can make use of this sample resume format while preparing your actual resume mosgoogle Computer Engineer is involved in various tasks of computing like desig
 

Computer Manager Career Responsibilities

Computer Manager Career Responsibilities With the technological age of today it is no wonder that computer related professions are highly desirable and often available to those interested in putting their computer knowledge to good work One such profession which allows an individual to work in the c
 

Related Categories
Sponsored Links

 
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