ITQuestionBank.com
 
Search for  
 
Advanced Search
  Home | Add a Link | Modify a Link | Login | Register | New Listings | Most Popular | Top Ranked | Link to Us | Search | Site Map | Privacy Policy

 Categories

 Editors Picks
  • Download CX-310-015 Free Exam Simulator
  • Download CX-310-014 Free Exam Simulator
  • Download SCEA Free Exam Simulator : 310-051
  • VB NET 2005 Training The NET Framework Architecture Part 1
  • Oracle Applications 11i Technical Training
  • MSAS Step by Step Tutorials
  • Oracle 9i Step by Step Tutorials
  • ASP.NET with C# Training
  • Live DataStage Interview Questions
  • SCJP for Java 2 Platform 1.4 CX-310-035 Free Exam Simulator
  • IT Interview Questions
  • IT Experts Online Journal

  • Home : Interview Center : Computer Associates
    Click "Subscribe" if you want to be notified of new or updated links in this category.Subscribe
    Computer Associates Listings
    Total:  1Displaying: 1 - 1

    Show Sort By

    Computer Associates - Java Questions
    Computer Associates - Java Questions Question : What exception is thrown when Servlet initialization fails ? (a) IOException (b) ServletException (c) RemoteException Answer : (b) Question : 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. Answer : (c) Question : What is the key difference between using a and HttpServletResponse.sendRedirect()? (a) forward executes on the client while sendRedirect() executes on the server. (b) forward executes on the server while sendRedirect() executes on the client. (c) The two methods perform identically. Answer : (b) Question : Why beans are used in J2EE architecture in stead of writing all the code in JSPs ? (a) Allows separation of roles between web developers and application developers (b) Allows integration with Content Management tools Answer : (a)

    Updated: 07/18/2005



    Privacy Policy
    14278 Resources Listed in 604 Categories  ~  IT QuestionBank © 2005 -2007