Better notes for future reference
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 10 Jul 2009 16:28:41 +0000 (16:28 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 10 Jul 2009 16:28:41 +0000 (16:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@793021 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/TldConfig.java

index 12f153a..2edf357 100644 (file)
@@ -508,8 +508,10 @@ public final class TldConfig  implements LifecycleListener {
         String taglibs[] = context.findTaglibs();
         for (int i = 0; i < taglibs.length; i++) {
             String resourcePath = context.findTaglib(taglibs[i]);
-            // FIXME - Servlet 2.4 DTD implies that the location MUST be
-            // a context-relative path starting with '/'?
+            // Note: Whilst the Servlet 2.4 DTD implies that the location must
+            // be a context-relative path starting with '/', JSP.7.3.6.1 states
+            // explicitly how paths that do not start with '/' should be
+            // handled.
             if (!resourcePath.startsWith("/")) {
                 resourcePath = "/WEB-INF/" + resourcePath;
             }