> From: "Tuan, Frank" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 27, 2005 6:52 PM

> I tried with a Filter.  However, once I called getInputStream() in
> the filter, getInputStream() in the servlet returns nothing.

You effectively need to create a new Request with an new InputStream
pointing to the stuff you just loaded in.

You can do that by loading the request into a byte buffer, and tying a
ByteArrayInputStream in the new Request that you forward from your Filter.
This has the downside of caching the entire request in RAM, so just be
aware.

Regards,

Will Hartung
([EMAIL PROTECTED])


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

Reply via email to