Hi,
Hmm, strange.  Have you tried doing this using the standard (spec)
interfaces, i.e. have an HttpServletRequestWrapper with the added
functionality to include your custom headers and an addHeader method?
This would be nicely portable.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Rui Zhang [mailto:[EMAIL PROTECTED]
>Sent: Saturday, May 15, 2004 2:48 AM
>To: Tomcat Users List
>Subject: HttpRequest.addHeader() doesn't work?
>
>Hi there,
>
>  I tried to use HttpRequest.addHeader() in a tomcat valve to add an
>additional header to the request. Right afert this, I printed out the
>request headers, by mapping the reqeust to HttpServletRequest.  But the
>new header was not there.
>
>  I'm using tomcat 4.1.30.
>
>  Any help would be greatly apperciated.
>
>Best regards,
>
>Rui
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to