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.
If it was my app, Rob, I would use a custom tag and put your recursive display code in there. While first creating/troubleshooting the output logic though, just use a scriplet in your JSP for quick-and-dirty debugging.