tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pier...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler PluginGenerator.java
Date Fri, 29 Sep 2000 17:23:09 GMT
pierred     00/09/29 10:23:08

  Modified:    src/share/org/apache/jasper/compiler Tag: tomcat_32
                        PluginGenerator.java
  Log:
  Fix to allow multiple plugins in the same JSP page.
  (was already in 3.3. and 4.0)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +5 -3      jakarta-tomcat/src/share/org/apache/jasper/compiler/PluginGenerator.java
  
  Index: PluginGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/PluginGenerator.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- PluginGenerator.java	2000/06/11 21:41:06	1.7
  +++ PluginGenerator.java	2000/09/29 17:23:07	1.7.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/PluginGenerator.java,v
1.7 2000/06/11 21:41:06 mandar Exp $
  - * $Revision: 1.7 $
  - * $Date: 2000/06/11 21:41:06 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/PluginGenerator.java,v
1.7.2.1 2000/09/29 17:23:07 pierred Exp $
  + * $Revision: 1.7.2.1 $
  + * $Date: 2000/09/29 17:23:07 $
    *
    * ====================================================================
    * 
  @@ -118,6 +118,7 @@
   
   	writer.popIndent ();
   	writer.println ("/*Code generated for plugin*/");
  +	writer.println("{");	// Work around multi-plugin-tag bug
   	writer.indent ();
   	writer.print ("out.println (\"<OBJECT classid=\\\"");
   	writer.print (ieClassId);
  @@ -342,6 +343,7 @@
   	writer.println ("out.println (\"</NOEMBED></EMBED>\");");
   	writer.println ("out.println (\"</OBJECT>\");");
   	writer.pushIndent ();
  +	writer.println("}");	// Work around multi-plugin-tag bug
       }
   
       public void generateCommon (ServletWriter writer) {
  
  
  

Mime
View raw message