aspose file tools*
The moose likes Servlets and the fly likes HttpServletRequestWrapper Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServletRequestWrapper" Watch "HttpServletRequestWrapper" New topic
Author

HttpServletRequestWrapper

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 230
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: 230
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpServletRequestWrapper
 
Similar Threads
About HttpServletRequestWrapper class
Request,Response object creation?
how to get the browser url
java.lang.ClassCastException in weblogic at weblogic.servlet.internal.ServletRequestImpl.getOriginal
HttpServletRequest and response