• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

HttpServletRequestWrapper

 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes ben i want to know if iam using requestWrapper wether i need to specify

any thing in web.xml

regards
amir
 
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. You do not need to indicate in web.xml that you are using the requestWrapper.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!