commit | 253e0bc8c94aa0db2f95e113da7813efba8334ce | [log] [tgz] |
---|---|---|
author | nitind <nitind> | Mon Apr 28 21:30:43 2008 +0000 |
committer | nitind <nitind> | Mon Apr 28 21:30:43 2008 +0000 |
tree | 085df241552b24a3f17bcfe850f9c093bd585d47 | |
parent | 7f84c4e54efe007a7b4e702a0602b40ef8b09cd1 [diff] |
[nobug] document include directive handling behavior
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/TLDCMDocumentManager.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/TLDCMDocumentManager.java index 7ee622d..fac0ee6 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/TLDCMDocumentManager.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/TLDCMDocumentManager.java
@@ -226,6 +226,12 @@ // strip any extraneous quotes and white space includedFile = StringUtils.strip(includedFile).trim(); IPath filePath = null; + /* + * The resolution of the included fragment should use the file + * containing the directive as the base reference, not always + * the main JSP being invoked. Verified behavior with Apache + * Tomcat 5.5.20. + */ if (getIncludes().isEmpty()) filePath = FacetModuleCoreSupport.resolve(TaglibController.getLocation(TLDCMDocumentManager.this), includedFile); else