Recursion in JSP
posted 11 years ago
I am looking for a solution for outputting my outline in a JSP. I don't know how many levels each item will have. Each outline item is in an OutlineItem object that contains other OutlineItems. Getting them in there was easy, but I can't figure out how to print them on a JSP page. Should I consider a custom tag library? I am using j2sdk1.4.2_08, Tomcat 4.13, and Spring.