A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Which three are true about the HttpServletRequestWrapper class?
Joined: Nov 25, 2008
Nov 19, 2009 01:16:59
this is a question that i get from our tution class.Can anyone tell me the answers for this?
Which three are true about the HttpServletRequestWrapper class? (Choose three.) A. The HttpServletRequestWrapper is an example of the Decorator pattern. B. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request. C. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method. D. An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter interface. E. An HttpServletRequestWrapper CANNOT be used on the request passed to the RequestDispatcher.include method. F. An HttpServletRequestWrapper may modify the header of a request within an object implementing the javax.servlet.Filter interface
Joined: Nov 24, 2005
Nov 19, 2009 02:45:17
The ranch is not a place to get straight answers for your homework. Please
do your own homework
All roads lead to JavaRanch
Joined: May 11, 2009
Nov 21, 2009 11:58:51
I hope I'm not disturbing the norm here but I wish to reply to Aruna's post. I can only think of 1 and 2 as the correct answers. Please PM me for 3rd answer.
I agree. Here's the link:
subject: Which three are true about the HttpServletRequestWrapper class?
double about change request header in HttpServletRequestWrapper
mock exam question on filters
Mock Tests doubts
Question Regarding Filters...
Question: HttpServletRequestWrapper Class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014