Referencing TLDs in JSPs
- Simplest method: relative URIs. Example:
foo.jsp
- Problem: if TLD moves, JSP must change
- Remedy: map the actual TLD location to an abstract, unique, and
fictitious URI.
- Use the <uri> element in the TLD file for this:
example.tld
- More flexible JSP: foo2.jsp