Re: how to use a filter to add params in servlet 2.3

2001-10-18 Thread Gennis Emerson
Mark Galbreath wrote: [Re. overriding request parameters using request wrappers] > This is actually pretty cool in concept! Have you used it? Yes, it shows up in two slightly different formats in my current project. I extend HttpServletRequestWrapper with a custom implementation partly in order

Re: how to use a filter to add params in servlet 2.3

2001-10-17 Thread Nic Ferrier
>The only way I could see, using the API, was to extend >HttpServletRequestWrapper and override the parameter methods. If >you know that your added parameter name won't ever conflict with >any of the original request parameters (or any added during an >include or forward), I think it can be fairly

Re: how to use a filter to add params in servlet 2.3

2001-10-17 Thread Mark Galbreath
This is actually pretty cool in concept! Have you used it? Cheers! Mark - Original Message - From: "Gennis Emerson" <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2001 7:19 PM > You might be able to do something container-specific - cast the > ServletRequest to some container implem

Re: how to use a filter to add params in servlet 2.3

2001-10-17 Thread Gennis Emerson
Tim Panton wrote: > > I am trying to use the 'new' filter api to add a parameter to a > request before a servlet is invoked. My first try involved > calling getParameterMap()and doing a put() into it. It seems > that map is locked readonly. So now I'm looking at > HttpRequestWrapper but to use t

how to use a filter to add params in servlet 2.3

2001-10-17 Thread Tim Panton
I am trying to use the 'new' filter api to add a parameter to a request before a servlet is invoked. My first try involved calling getParameterMap()and doing a put() into it. It seems that map is locked readonly. So now I'm looking at HttpRequestWrapper but to use that I think I will have to em