|
|
|
I got lucky: BEA WebLogic also supports
<path>tags/titledBox.tag</path> for a file in /WEB-INF/tags/titledBox2.tag I don't see how that is supported by the spec, though. Also see the J2EE tutorial at http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags6.html#wp90207 path: This must begin with /WEB-INF/tags/ if the tag file resides in the WAR, or /META-INF/tags/ if the tag file resides in a JAR. I tried to create a test project and finally found the reason:
In my project the tld file is deployed as a deployment descriptor and the "tags" directory is deployed as a "Web Resource Directory". (Please don't ask - this is a project where the directory structure and ant file is foobar. I am too afraid to change anything, because the setup is so fragile.) See the example project attached to |
|||||||||||||||||||||||||||||||||||||||||||||||||
The worst effect of this is that IDEA does not know about the tag's attributs, so it gives an error in the error and code completion and validation of names of the attributes is not available.