I want to create custom jsp tags. Following is my requirement.
1. The tag that I have to create can always be added as a chlild tag for specific tags. So I want to check the tag to see if it is in a valid parent tag.
2. I want to access the attributes of the parent tag in the child tag file and vice versa.
3.I also want to set one property for each tag, which can be set from the tag file, and the user cannot set it.
I would like to know if I can execute them with tag files or do I need to create custom tags using java code? If this can be done in suing tag files, can you give an example?
source share