-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 6/22/2011 11:23 AM, Ronald Albury wrote:
> My understanding is that I should *not* close the servlet input/output
> streams (if you don't open them - you shouldn't close them)
That seems like good advice.
> But what if I have wrapped thos
Hi
You may use decorator pattern to decorate the input & output stream from
Servlet to a UnclosableInputStream & UnclosableOutputStream,
public class UnclosableInputStream extends java.io.FilterInputStream {
public UnclosableInputStream(InputStream inputStream) {
super(inputStream);
}
@Override