How do you write custom tags like tag library

Showing Answers 1 - 9 of 9 Answers

To develop acustom tag

1)we need to write our own .tld
2)for every tag in the tld we have to write tag handler classes
(Generally .jar files contains the taghandler classes)
using doStartTag(),doAfterBody(),doEndTag()
3)specify taglib uri and tag lib location in web.ml

                 By using taglib directive we can use the tags defined by us . These are nothing but custom tags

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions