head	1.7;
access;
symbols;
locks
	nobody:1.7; strict;
comment	@# @;


1.7
date	99.06.11.11.30.08;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.05.19.18.25.12;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.05.10.12.28.47;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.05.10.12.24.29;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.05.10.12.15.57;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.05.10.12.15.21;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.05.10.12.15.19;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.7
log
@null
@
text
@AttributionsTogether: 1
IDependOn-Set: 1
IDependOn-Set: 134
IDependOn-Set: 147
IDependOn-Set: 221
IDependOn-Set: 3
IDependOn-Set: 78
LastModifiedSecs: 926339327
Parent: 78
SequenceNumber: 3
Title: Either getOutputStream or getWriter may be called
@


1.6
log
@null
@
text
@d5 1
@


1.5
log
@null
@
text
@d3 1
a3 1
IDependOn-Set: 136
@


1.4
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 926339069
d9 1
a9 1
SequenceNumber: 2
a10 13
Part: 0
Author-Set: java@@hogi.de
DateOfPart: 1999-May-10  5:24am
Lines: 8
The documentation says, that getOutputStream() throws an exception, if 
getWriter() was called before and vice versa. (This might relate to character encoding things, Im not sure).

You could get arround it by storing either getOutputStream() or getWriter() and reuse it. If you use getOutputStream() to create a PrintWriter on your own, I would use the autoflushing version:
        OutputStream myOS = response.getOutputStream(); 
        PrintWriter  myPW = new PrintWriter(myOS, true);

:o) Hogi
EndPart: 0
@


1.3
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 926338557
d9 1
a9 1
SequenceNumber: 1
d11 13
@


1.2
log
@null
@
text
@d1 1
d7 1
a7 1
LastModifiedSecs: 926338519
d9 2
a10 2
SequenceNumber: 0
Title: New Item
@


1.1
log
@null
@
text
@d2 1
@
