Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

HFSJ 2nd MOCK 16 question

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which JSP life cycle phase can cause an HTTP 500 status code to be returned on a request to a JSP page? (choose all that apply).
A.JSP page compilation
B.Execution of the service method
C.Execution of the destroy method
D.Execution of the initialization method.

Ans ABD. Can any one explain why can't C is correct.

Can we expect Status code related questions in real exam?
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


while requesting the JSP page
Page transalation , compilation ,loading , initilization, calling service method to process the request can be called.

will the container call destroy method while requesting the page?
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow Thanks deepa raj , You made me to answer.
I got it .
By the way Can we expect the Satus code related questions in real exam?
[ August 11, 2008: Message edited by: Chintu sirivennela ]
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Better some body who have completed the certification can answer.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes ,this question was not more of the status code question, Its about what are the lifecycle events when the http requests comes in.So the destroy is done only when the container is shutdown .
 
    Bookmark Topic Watch Topic
  • New Topic