~ubuntu-branches/ubuntu/trusty/tomcat7/trusty-security

« back to all changes in this revision

Viewing changes to java/org/apache/jasper/compiler/JspUtil.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2012-06-07 22:43:21 UTC
  • mfrom: (11.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120607224321-cfev8j681yueyov3
Tags: 7.0.27-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import java.util.jar.JarFile;
27
27
import java.util.zip.ZipEntry;
28
28
 
 
29
import org.apache.jasper.Constants;
29
30
import org.apache.jasper.JasperException;
30
31
import org.apache.jasper.JspCompilationContext;
31
32
import org.xml.sax.Attributes;
739
740
 
740
741
        index = path.indexOf(WEB_INF_TAGS);
741
742
        if (index != -1) {
742
 
            className = "org.apache.jsp.tag.web.";
 
743
            className = Constants.TAG_FILE_PACKAGE_NAME + ".web";
743
744
            begin = index + WEB_INF_TAGS.length();
744
745
        } else {
745
746
            index = path.indexOf(META_INF_TAGS);
757
758
    }
758
759
 
759
760
    private static String getClassNameBase(String urn) {
760
 
        StringBuilder base = new StringBuilder("org.apache.jsp.tag.meta.");
 
761
        StringBuilder base =
 
762
                new StringBuilder(Constants.TAG_FILE_PACKAGE_NAME + ".meta.");
761
763
        if (urn != null) {
762
764
            base.append(makeJavaPackage(urn));
763
765
            base.append('.');