• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question on servlets

 
Minu Jain
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which two prevent a servlet from handling requests?
A. the servlet's init method returns a non-zero status.
B. the servlet's init method throws a ServletException.
C. the servlet's init method does NOT return within a time period defined by the servlet Container.

the correct options are B and C.

Could somebody explain me as to what exactly happens in case of option C?
 
Vishal Chugh
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Which mocks you are refering??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic