Invoking JSP tag with a JSP tag

Hi,

I'm trying to write a tag that basically invokes another JSP tag 5 times with different values for its attribute. I'm just wondering if there's a way to accomplish.

I tried creating instances of the tag that i'm invoking and then calling doStartTag() and doEndTag(), but this doesn't ensure that the body content of that tag will get evaluated. And the body content of that tag happens to be another tag.

Any ideas?

Thanks in advance.

--John

[494 byte] By [johnkchiu] at [2007-9-26 4:07:17]
# 1
Can you spend some time reading http://java.sun.com/j2ee/tutorial/doc/JSPTags5.html#68205and http://developer.java.sun.com/developer/Books/cservletsjsp/chapter14.pdf ?If yes, you should be able to figure out a solution.
neville_sequeira at 2007-6-29 13:08:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks "neville_sequeira". I got it to work. I forgot to to call the pushBody() and popBody() methods when I'm calling the tags with body content.This is such a pain. I wish there's some method to help invoke other tags.--John
johnkchiu at 2007-6-29 13:08:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...