Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Epractice Lab mock exam 4 order of listeners  RSS feed

Himai Minh
Ranch Hand
Posts: 1553
  • 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.
I've never won anything before. Not even a tiny ad:
Thoughts on deprecation in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!