taylor      2004/04/07 08:12:33

  Modified:    portal/src/java/org/apache/jetspeed/aggregator/impl
                        HttpBufferedResponse.java
  Log:
  Patch from Ate Douma for issue #JS2-7:

  getOutputStream() wraps the wrapped ServletResponse.getWriter() instead of its own 
writer. 

  

  PR:

  Obtained from:

  Submitted by: 

  Reviewed by:  

  CVS: ----------------------------------------------------------------------

  CVS: PR:

  CVS:   If this change addresses a PR in the problem report tracking

  CVS:   database, then enter the PR number(s) here.

  CVS: Obtained from:

  CVS:   If this change has been taken from another system, such as NCSA,

  CVS:   then name the system in this line, otherwise delete it.

  CVS: Submitted by:

  CVS:   If this code has been contributed to Apache by someone else; i.e.,

  CVS:   they sent us a patch or a new module, then include their name/email

  CVS:   address here. If this is your work then delete this line.

  CVS: Reviewed by:

  CVS:   If we are doing pre-commit code reviews and someone else has

  CVS:   reviewed your changes, include their name(s) here.

  CVS:   If you have not had it reviewed then delete this line.

  
  Revision  Changes    Path
  1.5       +2 -3      
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/HttpBufferedResponse.java
  
  Index: HttpBufferedResponse.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/aggregator/impl/HttpBufferedResponse.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HttpBufferedResponse.java 23 Mar 2004 21:28:42 -0000      1.4
  +++ HttpBufferedResponse.java 7 Apr 2004 15:12:32 -0000       1.5
  @@ -51,9 +51,8 @@
           }
   
           if (wrappedStream == null)
  -        {
  -            wrappedStream = new 
PrintWriterServletOutputStream(getResponse().getWriter());
  -                                                               
  +        {            
  +            wrappedStream = new PrintWriterServletOutputStream(writer);             
                                                  
           }
   
           usingStream = true;
  
  
  

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

Reply via email to