• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using JSTL forEach with a custom tag  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use the JSTL <c:forEach> tag to iterate over my own custom tag.
What changes do I have to make to my tag so as to allow iteration through
the JSTL tag.
 
Author and ninkuma
Marshal
Posts: 66689
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Impossible to say without more details. What does it do? Does it need to interact with the iteration variable created by the forEach tag? What about the loop status variable?

If it doesn't interact at all, you probably need to do nothing.
 
Let's go to the waterfront with this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!