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; i<children.size(); i++){
dfs((Node)(children.elementAt(i)));
}
%>
</tag:tree>
<%!
}
%>
Thanks,
Andrew Janian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]