Four places the Container looks for TLDs

The Container searches in several places to find TLD files—you don’t need to do anything except make sure your TLDs are in one of the right locations.

  1. Directly inside WEB-INF

  2. Directly inside a subdirectory of WEB-INF

  3. Inside the META-INF directory inside a JAR file that’s inside WEB-INF/lib

  4. Inside a sub-directory of META-INF inside a JAR file that’s inside WEB-INF/lib

image with no caption

Get Head First Servlets and JSP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.