• Post Reply Bookmark Topic Watch Topic
  • New Topic

Epractice Lab mock exam 4 order of listeners  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1514
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Which of the following statements are true about servlet 3.0?
A. Listeners are invoked in a random order
B. The order in which listeners are invoked can be defined.
C. Order can be specified in web.xml or annotations.
Given answer: B,C


I think the answer should be A, B.
C is partially correct as the order can be defined in web.xml, but not annotations.
A is partially correct if the listeners are defined by annotations.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!