I am trying to create a new custom tag for JSP. Here is the situation:
In the code, first-anchor-tag is anfor insidother custom tag. I am trying to create the new tag inside-tag an incorporate with the first-anchor-tag.
Once the first-anchor-tag get evaluated, I want to create a list of all the keys and values of inside-tag and print it.
I have done some research. But I am new to jsp and custom tag. I know I have to do the following:
1. Add entry to TLD file for "inside-tag".
2. Create and tag handler class for "inside-tag".
3. In the "first-anchor-tag" hanlder file in the doEndTag() method some how I have to make a call to get the list for "inside-tag" variables.
Can some one please give me some idea about how to proceed with this situation?