tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspCompilationContext.java
Date Thu, 01 Aug 2002 21:49:58 GMT
kinman      2002/08/01 14:49:58

  Modified:    jasper2/src/share/org/apache/jasper
                        JspCompilationContext.java
  Log:
  - For a tag file, sure that the file name is the same as the class name.
  
  Revision  Changes    Path
  1.12      +9 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java
  
  Index: JspCompilationContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JspCompilationContext.java	31 Jul 2002 21:42:27 -0000	1.11
  +++ JspCompilationContext.java	1 Aug 2002 21:49:58 -0000	1.12
  @@ -270,9 +270,15 @@
        * generated class. 
        */
       public String getServletClassName() {
  +
  +	if (isTagFile) {
  +	    return tagInfo.getTagName();
  +	}
  +
           if (servletClassName != null) {
               return servletClassName;
           }
  +
           int iSep = jspUri.lastIndexOf('/') + 1;
           int iEnd = jspUri.length();
           StringBuffer modifiedClassName = 
  
  
  

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


Mime
View raw message