| Author |
HttpServletRequestWrapper
|
Amirtharaj Chinnaraj
Ranch Hand
Joined: Sep 28, 2006
Posts: 215
|
|
hi guys iam having a doubt that how the service(method) defined in HttpServletRequestWrapper is availaible to HttpServletRequest even though they both are implementing HttpServletRequest interface i think the container takes care of assigning the HttpServletRequestWrapper to the HttpServletRequest which will be sent to the servlet for processing if we have to mention the container wether we are using HttpServletRequestWrapper similar to filters and listeners looking for your replies regards amir
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
I'm not sure what you're asking here. There is no service method defined in HttpServletRequestWrapper. Are you asking whether or not the wrapper has to be explicitly declared in the deployment descriptor?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Amirtharaj Chinnaraj
Ranch Hand
Joined: Sep 28, 2006
Posts: 215
|
|
yes ben i want to know if iam using requestWrapper wether i need to specify any thing in web.xml regards amir
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
No. You do not need to indicate in web.xml that you are using the requestWrapper.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
|
|
subject: HttpServletRequestWrapper
|
|
|