TLDGen is a free and open-source library that generates TLD (Tag Library Descriptor) and HTML code from Javadoc annotations.
If you are working with JSP and custom tag and functions, then the TLDGen library comes in very handy, since it will automatically generate the TLD files from annotations in your Java classes.
Also, TLDGen is not needed at runtime and can be used from the CL, maven or ant.
Detailed instructions on how to install and use the TLDGen utility on your Mac are available HERE.
TLDGen is a cross-platform utility capable of running on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).