Hi G�nter,

I haven't done this, but I suppose you should implement a
RequestWrapper. Extend
javax.servlet.http.HttpServletRequestWrapper.
Your implementation just calls the methods of
HttpServletResponseWrapper. However, if it is asked for your
name/value pair don't call super but return null or whatever is
appropriate. As this Wrapper implements HttpServletRequest and
ServletRequest you can pass this in chain.doFilter...

Look for the following message in the archive. It descibes
ResponseWrapper:

Date: Mon, 21 Oct 2002 12:43:27 +0200
From: Andreas Probst <[EMAIL PROTECTED]>
Subject: Re: Is there any way to read the response headers in a
filter in Tomcat 4.0.3 ?

Regards,
Andreas

On 13 Nov 2002 at 15:20, G�nter Kukies wrote:

> Hello,
>
> how can I delete a name-value pair from a HTTPServletRequest. I
> need to do it within a Filter request, because I need a
> ServletRequest Object for chain.doFilter(request,response);
>
> Thanks
> G�nter
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to