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