aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How to locating TLD with fallback mechanism when URI does not map any entries? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "How to locating TLD with fallback mechanism when URI does not map any entries?" Watch "How to locating TLD with fallback mechanism when URI does not map any entries?" New topic
Author

How to locating TLD with fallback mechanism when URI does not map any entries?

Joey Sanchez
Ranch Hand

Joined: Jun 23, 2011
Posts: 86

The taglib map mantained by the container (URI <-> TLD location)

1st. Look at deployment descriptor (web.xml) TLD-to-URI

2nd. Implicit map entries element of TLD

3rd. Implicit map entries from container

After that how does it work if URI used in taglib directive does not map any entries?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1695
    
  25

After that how does it work if URI used in taglib directive does not map any entries?

Then it will fail unless, you will have the fallback scenario:
From JSP specs
The fallback interpretation is targetted to a casual use of the mechanism, as in the development cycle of theWeb Application; in that case the URI is interpreted as a direct path to the TLD
...
the fallback rule allows a taglib directive to refer directly to the TLD. This arrangement is very convenient for quick development at the expense of less flexibility and accountability. For example:


Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to locating TLD with fallback mechanism when URI does not map any entries?