https://issues.apache.org/bugzilla/show_bug.cgi?id=52725

             Bug #: 52725
           Summary: org.apache.jasper.compiler.JspUtil#getTagHandlerClassN
                    ame() does not use
                    org.apache.jasper.Constants.TAG_FILE_PACKAGE_NAME
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: bluewolf.ch...@gmail.com
    Classification: Unclassified


In the class org.apache.jasper.compiler.JspUtil, its method 

    public static String getTagHandlerClassName(String path, String urn,
            ErrorDispatcher err) throws JasperException {
        ...
    }

uses the string constants directly like "org.apache.jsp.tag.web.",
"org.apache.jsp.tag.meta.".

But you know there is TAG_FILE_PACKAGE_NAME field in the class
org.apache.jasper.Constants.


The code should be adjusted like below :

Constants.TAG_FILE_PACKAGE_NAME + ".web"
Constants.TAG_FILE_PACKAGE_NAME + ".meta"

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to