Howdy folks.

I'm a build-engineer for building a JSP/struts project.

As near as I can tell, the JSP 1.1 spec specifies that when you package
a taglib in a jar file, you can expect:

  Packaged Tag Libraries
  JSP page authoring tools are required to accept a Tag Library that is
packaged as a JAR file.
  When packaged so the JAR file must have a tag library descriptor file
named META-INF/
  taglib.tld.

  (source:  ftp://ftp.java.sun.com/pub/jsp/11final-87721/jsp1_1-spec.pdf ,
section 5.2.1)

Now, the modularization of Struts taglibs has taken the approach of putting
multiple
.tld files in META-INF/tlds/

So I expect therefore that a reference in a web.xml:
<taglib> 
    <taglib-uri>acmetags</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts.jar</taglib-location> 
</taglib> 

Won't find any of:

META-INF/tlds/struts-bean.tld
META-INF/tlds/struts-form.tld
META-INF/tlds/struts-html.tld
META-INF/tlds/struts-logic.tld
META-INF/tlds/struts-template.tld

although it will find the 'deprecated' META-INF/taglib.tld

So what's the story?  Is there some corner of the spec I have
missed, or will I have to extract the TLD's from struts.jar to my
preferred location under WEB-INF as part of the build?

thanks,
David.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to