Question: how to create tld file?
Answer: Create a text file with an appropriate name and the extension . ... 
Add the contents of the TLD, embedded in a <taglib> element, as indicated in steps 4-7. ... 
Identify the tag library: <tlib-version>version_number</tlib-version> ... 
Define a tag library validator (Optional). ... 
Define a tag.