Custom Tag Libraries is an architecture to allow you to insert functionality into a JSP page via the use of xml-like tags.
There are several key advantages of this, one mainly being the separation of logic and associated tasks. I.e. the web-page designer will/should not have to cope with Java code on the page. It also in my opinion makes JSP pages look a lot neater, and saves a huge amount of code re-use. Practically, it can be used for anything where you need Java functionality in a JSP page i.e. connecting to a database, retrieving data, coping with sessions - you implement the code (or use others) therefore its fairly open ended. TLD is the definition file for tag libraries in the current web application, which map the tags to Java classes and specify what parameters etc should be passed. Do a Google search for Tag Libraries, and there is a wealth of information available. Personally, I have started using them quite recently, but am very impressed with the power from the relatively little amount of code. Hope this helps, Best regards, Peter Dolukhanov -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] On Behalf Of Shivani Sent: 07 March 2003 22:07 To: [EMAIL PROTECTED] Subject: TLD- custom tag library hi, is TLD(custom tag libraries) used mostly? it's basically a xml file i read. but what's the advantages of this over xml? what are it's applications? is it used in industry more? please give me some idea. (i am reading in books but no idea where it's used practically) ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com