You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by lu...@apache.org on 2003/02/14 00:25:05 UTC

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Node.java

luehe       2003/02/13 15:25:05

  Modified:    jasper2/src/share/org/apache/jasper/compiler Node.java
  Log:
  moved comment
  
  Revision  Changes    Path
  1.55      +8 -7      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Node.java
  
  Index: Node.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Node.java,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- Node.java	14 Jan 2003 22:32:58 -0000	1.54
  +++ Node.java	13 Feb 2003 23:25:05 -0000	1.55
  @@ -1410,6 +1410,11 @@
               return temporaryVariableName;
           }
   
  +	/*
  +	 * Get the attribute value from this named attribute (<jsp:attribute>).
  +	 * Since this method is only for attributes that are not rtexpr,
  +	 * we can assume the body of the jsp:attribute is a template text.
  +	 */
   	public String getText() {
   
   	    class AttributeVisitor extends Visitor {
  @@ -1423,10 +1428,6 @@
   		}
   	    }
   
  -	    // Get the attribute value from this named attribute
  -	    // (<jsp:attribute>).
  -	    // Since this method is only for attributes that are not rtexpr,
  -	    // we can assume the body of the jsp:attribute is a template text.
   	    // According to JSP 2.0, if the body of the <jsp:attribute>
   	    // action is empty, it is equivalent of specifying "" as the value
   	    // of the attribute.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org