tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/runtime PageContextImpl.java
Date Thu, 14 Oct 1999 04:07:54 GMT
akv         99/10/13 21:07:54

  Modified:    src/share/org/apache/jasper/runtime PageContextImpl.java
  Log:
  Goodbye BodyJspWriter.
  
  Revision  Changes    Path
  1.2       +8 -7      jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PageContextImpl.java	1999/10/09 00:20:40	1.1
  +++ PageContextImpl.java	1999/10/14 04:07:54	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.1 1999/10/09 00:20:40 duncan Exp $
  - * $Revision: 1.1 $
  - * $Date: 1999/10/09 00:20:40 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.2 1999/10/14 04:07:54 akv Exp $
  + * $Revision: 1.2 $
  + * $Date: 1999/10/14 04:07:54 $
    *
    * ====================================================================
    * 
  @@ -84,7 +84,7 @@
   import javax.servlet.jsp.PageContext;
   import javax.servlet.jsp.JspFactory;
   import javax.servlet.jsp.JspWriter;
  -import javax.servlet.jsp.tagext.BodyJspWriter;
  +import javax.servlet.jsp.tagext.BodyContent;
   
   import org.apache.jasper.Constants;
   
  @@ -342,10 +342,11 @@
   
       Stack writerStack = new Stack();
       
  -    public BodyJspWriter pushBody() {
  +    public BodyContent pushBody() {
  +        JspWriter previous = out;
           writerStack.push(out);
  -        out = new BodyJspWriterImpl(bufferSize);
  -        return (BodyJspWriter) out;
  +        out = new BodyContentImpl(previous);
  +        return (BodyContent) out;
       }
       
       public JspWriter popBody() {
  
  
  

Mime
View raw message