Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Using JSTL forEach with a custom tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using JSTL forEach with a custom tag" Watch "Using JSTL forEach with a custom tag" New topic
Author

Using JSTL forEach with a custom tag

Jason Pepper
Greenhorn

Joined: Oct 15, 2005
Posts: 9
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

Joined: Jan 10, 2002
Posts: 60766
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using JSTL forEach with a custom tag
 
Similar Threads
custom tag attribute items cannot be runtime expression
JSTL validation error
my custom tag inside struts tag.
Display tags and Jsp Scriptlet
Please Help this Argument solve