READ Free Dumps For Oracle- 1z0-899
Question ID 4697 | Which three are true about the HttpServletRequestWrapper class? (Choose three.) |
Option A | A. The HttpServletRequestWrapper is an example of the Decorator pattern. |
Option B | B. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request. |
Option C | C. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method. |
Option D | D. An HttpServletRequestWrapper may be used only by a class implement the javax.servlet.Filter interface. |
Option E | E. An HttpServletRequestWrapper CANNOT be used on the request passed to the RequestDispatcher.interface. |
Option F | F. An HttpServletRequestWrapper may modify the header of a request within an object implementing the javax.servlet.Filter interface. |
Correct Answer | A,B,F |
Question ID 4698 | Given a war file with the following structure |
Option A | A. No filters will be executed. |
Option B | B. MyFilter1 |
Option C | C. MyFilter2 |
Option D | D. MyFilter1 and MyFilter2 |
Correct Answer | C |