You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vinit Sharma <vi...@gmail.com> on 2006/04/06 13:48:09 UTC
Tree display in JSP page
Hi,
I've a class, which looks like:
public class Tree {
private String label;
private int level;
private Tree childRef;
private Tree siblingRef;
private Tree startRef;
}
I'd like to diplay this data structure on my JSP page. Its a trick, as
recursion is not possible in JSP as compared to what we can do in a normal
class, any idea how this can be done?
Thanks,
--
Vinit Sharma
IBM