March 2008
Intermediate to advanced
911 pages
20h 31m
English
Content preview from Head First Servlets and JSP, 2nd Edition
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
Start your free trial



Where the Container looks for Tag Files
The Container searches for tag files in four locations. A tag file MUST have a TLD if it’s deployed in a JAR, but if it’s put directly into the web app (in “WEB-INF/tags” or a sub-directory), it does not need a TLD.
Directly inside WEB-INF/tags
Inside a sub-directory of WEB-INF/tags
Inside the META-INF/tags directory inside a JAR file that’s inside WEB-INF/lib
Inside a sub-directory of META-INF/tags inside a JAR file that’s inside WEB-INF/lib
IF the tag file is deployed in a JAR, there MUST be a TLD for the tag file.
