Recursive « Convert « JSP-Servlet Q&A





1. convert a recursive structure to xml with jsp    stackoverflow.com

Let's say I have a recursive data structure

 class Tree {
      private Tree right;
      private Tree left;
     ...