In jsf-impl.jar
(which can be found on mvnrepository.com), the *.taglib.xml
files are located in directory com/sun/faces/metadata/taglib/
.
I don't understand how they're discovered in this case, because chapter 10.3.2 of the JSF 2 specification says:
10.3.2 Facelet Tag Library mechanism
...
The run time must support two modes of discovery for Facelet tag library descriptors
Via declaration in the web.xml, as specified in Section 11.1.3 “Application Configuration Parameters”
Via auto discovery by placing the tag library descriptor file within a jar on the web application classpath, naming the file so that it ends with
“.taglib.xml”
, without the quotes, and placing the file in theMETA-INF
directory in the jar file....
Here, they're not located in directory META-INF
, so how does it work?
Note: in META-INF
, they are some .tld
files, but I'm not interested in them since I'm not using JSP as the view, but Facelets.
taglib.xml
? – Chrysalid