Want to customize a tag lib, we need to do follow the steps:
1. Define the component (UIBean)
2. Define the tag
3. Define freemarker template, which should be added to "WEB-INF/classes/template/simple" folder.
We also can change the folder to template/xhtml, which is related with struts theme.
4. Define the tag configuration file, which should be added to "WEB-INF/tld/tms-tags.tld"
5. Configure the web.xml to load the tag lib when server is up.
6. Use the tag lib in jsp
Ok, you'll see the result when visit the jsp.
Say hello to: Stefli