Re: Recursion in JSP

2004-08-05 Thread Makoto Nagata
Hi Andrew, If what you need is to call JSPs recursively, MicroNova YUZU tag library (http://sourceforge.net/projects/micronova-yuzu) supports recursion passing arbitrary (non-string) objects using m:call and m:param tags like this: m:param var=input/ tag:tree c:forEach var=child

Recursion in JSP

2004-08-04 Thread Andrew Janian
Does anyone know if I am able to use recursion to traverse a tree but then to use a tag inside the recursive method? If that was unclear, I want to know if I can do this: %! void dfs(Node root){ % tag:tree %! Vector children = root.getChildren(); for(int i=0;