Chapter 13. Answer Key

This chapter is an answer key to the multiple-choice exam in Chapter 12, “Sample Test.”

1. C

2. A

3. B

4. D

5. A

6. A

7. D

8. B

9. D

10. A

11. D

12. C

13. A, B

14. servlet-mapping

15. A, B

16. B

17. C, D

18. D

19. B, D

20. A

21. A, D

22. A

23. C

24. web.xml

25. A

26. D

27. B

28. removeAttribute

29. B, C

30. D

31. B, D

32. A, D

33. B, C

34. A

35. D

36. A, D

37. C

38. B

39. C

40. D

41. A

42. A

43. getInitParameter

44. C

45. D

46. D

47. B, D

48. C, D

49. B

50. A

51. A

52. A

53. B

54. A, C

55. C, D

56. A, B

57. A, B

58. sendError

59. D

60. B

Question 1

Answer C is correct. You would use the Model-View-Controller architecture to decouple presentation from core data access functionality. Also, this pattern enables you to control the communication between them so that multiple views can see ...

Get Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.