https://bz.apache.org/bugzilla/show_bug.cgi?id=58195

            Bug ID: 58195
           Summary: TldCache does not fallback
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: jaredwiltsh...@gmail.com

I've got a problem loading a tld files from a location which is not in WEB-INF.
There is a null pointer exception on the first line of TldCache.getTaglibXml().

This is because the TldScanner only scans the WEB-INF directory which is fair
enough. But I believe the correct behaviour if tldResourcePathTaglibXmlMap
doesn't contain the resource path is to load the tld from the filesystem.

According to the JSP 2.1 specification, section 7.3.6.2 -
"If uri is root_rel_uri, a relative URI that starts with /
Look in the taglib map for an entry whose taglib_uri is root_rel_uri. If found,
the corresponding taglib_location is the TLD resource path. If no such entry is
found, root_rel_uri is the TLD resource path."

http://download.oracle.com/otndocs/jcp/jsp-2.1-fr-eval-spec-oth-JSpec/

-- 
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