• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JSTL forEach with a custom tag

 
Jason Pepper
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic