• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ 2nd MOCK 16 question

 
Amruth Puppala
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?
 
deepa raj
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.
 
Baddy Davay
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic