tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From man...@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler SetPropertyGenerator.java
Date Sun, 24 Oct 1999 02:08:32 GMT
mandar      99/10/23 19:08:31

  Modified:    src/share/org/apache/jasper/compiler Tag:
                        TOMCAT_J2EE_10F_102199 SetPropertyGenerator.java
  Log:
  Bug fix. setProperty value="\"" was faling.
  
  Submitted by:  Mandar.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.2.1 +5 -4      jakarta-tomcat/src/share/org/apache/jasper/compiler/SetPropertyGenerator.java
  
  Index: SetPropertyGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/SetPropertyGenerator.java,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.2.1
  diff -u -r1.1.1.1 -r1.1.1.1.2.1
  --- SetPropertyGenerator.java	1999/10/09 00:20:38	1.1.1.1
  +++ SetPropertyGenerator.java	1999/10/24 02:08:29	1.1.1.1.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/SetPropertyGenerator.java,v
1.1.1.1 1999/10/09 00:20:38 duncan Exp $
  - * $Revision: 1.1.1.1 $
  - * $Date: 1999/10/09 00:20:38 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/SetPropertyGenerator.java,v
1.1.1.1.2.1 1999/10/24 02:08:29 mandar Exp $
  + * $Revision: 1.1.1.1.2.1 $
  + * $Date: 1999/10/24 02:08:29 $
    *
    * ====================================================================
    * 
  @@ -240,7 +240,8 @@
   			    throw new JasperException(m);
   			} else {
   			    if (tp.equals(String.class))
  -				writer.println (name+"."+methodName+"(\"" + value + "\");");
  +			        writer.println (name+"."+methodName+"(" +
  +						writer.quoteString(value) + ");");
   			    else if (tp.equals(char.class))
   				writer.println (name+"."+methodName+"((new String (\"" +
   						value + "\")).charAt(0));");
  
  
  

Mime
View raw message