Hello, I read the javax.servlet.jsp.tagext API.I understood the when taglib directive is encountered in a custom tag.it tries to parse the TLD mentioned in the URL and makes a TagLibraryInfo object.Where exactly is this created?Does the container manages creation and deletion during run time?How will it recognises the TagLibraryInfo objects of different tlds?If it is container managed,why is it exposed to the users?
Classes of this type are created and managed by the container during the translation time of a JSP page that references TLDs via the taglib directive. It is not available at JSP run time.
The instance of this class is available during translation time to classes that are serving as "extra info" classes of custom actions just in case the information therein might be useful. [ January 12, 2006: Message edited by: Bear Bibeault ]
No, I mean just what I said. This class is used by the container to hold information garnered from the TLD file at page translation time. If a tag implmentation wants to access it for any reason, it is availble to the Tag Extra Class defined for the tag (if any).
It has nothing to do with the run-time mechanism of the tags. [ January 12, 2006: Message edited by: Bear Bibeault ]
subject: javax.servlet.jsp.tagext TagLibraryInfo class