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


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

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

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

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

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


desc
@null
@


1.5
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 134
IDependOn-Set: 3
IDependOn-Set: 78
IDependOn-Set: 90
LastModifiedSecs: 924712547
Parent: 78
SequenceNumber: 2
Title: Use getOutputStream instead
Part: 0
Author-Set: eric@@actualsoftware.com
LastModifiedSecs: 924712500
Type: 
Lines: 12
The SSI internals call getOutputStream() so you are not allowed to call getWriter() (only one of the two get functions may be called).

A workaround is to do the following:

 public void doGet(HttpServletRequest req, HttpServletResponse res)
      throws ServletException, IOException
 {
  PrintWriter out = new PrintWriter(res.getOutputStream());
  [...]
  // don't close the PrintWriter or you will lose the rest of your page.
  out.flush();
 }
EndPart: 0
@


1.4
log
@null
@
text
@d2 1
@


1.3
log
@null
@
text
@d11 2
a12 1
DateOfPart: 1999-Apr-21  9:35am
@


1.2
log
@null
@
text
@d5 1
a5 1
LastModifiedSecs: 924712170
d7 1
a7 1
SequenceNumber: 1
d9 17
@


1.1
log
@null
@
text
@d5 1
a5 1
LastModifiedSecs: 923140165
d7 2
a8 2
SequenceNumber: 0
Title: New Item
@
