Hi all,
I need some help copying a HttpServletRequest in a Filter. I'm running 5.0.28.
So far, this is what I have,
HttpServletRequest oldRequest = (HttpServletRequest)request;
CoyoteRequest newRequest = new CoyoteRequest();
// handle HTTP
The normal approach is to wrap the request as opposed to copying it:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequestWrapper.html
On Fri, 2005-04-29 at 14:16, Tuan, Frank wrote:
Hi all,
I need some help copying a HttpServletRequest in a Filter. I'm running
I'm trying to change the InputStream of the request. I don't think the wrapper
allows me to change the InputStream.
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:28 AM
To: Tomcat Users List
Subject: Re: Copying HttpServletRequest
From: Tuan, Frank [EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:35 AM
I'm trying to change the InputStream of the request. I don't think the
wrapper
allows me to change the InputStream.
It's deeper in the ServletRequestWrapper, but it's there.
Regards,
Will Hartung
([EMAIL PROTECTED])
Got it. Thanks everybody.
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 12:10 PM
To: Tomcat Users List
Subject: Re: Copying HttpServletRequest
From: Tuan, Frank [EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:35 AM
I'm trying
windows?im ignorant