posted 16 years ago
1)Which three are true about HttpServletRequestWrapper class?
a)HttpServletequest is an example of DecoratorPattern
b)this can be used to extend the functionality of servletRequest.
c)A subclass of HttpServletRequestWrapper can not modify the behaviour
of getReader method
d)An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter interface
e)An HttpServletrequestWrapper can not be used on the request passed to the RequestDispatcher.include method
f)An HttpServletRequestWrapperWrapper may modify the header of a request within an object implementing the javax.servlet.Filter interface.
Iam thinking that the answers are a,b,d but in Mocktest they given as a,b,f.Please tell me the correct answer?