简体   繁体   English

使用Java创建动态树结构

[英]Create Dynamic Tree Structure using java

I need to implement dynamic tree structure in my application. 我需要在我的应用程序中实现动态树结构。 and fill all that node in my map. 并填写我地图中的所有节点。 so that i can carry that map to client side and display it on my jsp. 这样我就可以将该地图携带到客户端并在我的jsp上显示。 I will read the data from my xml and fill it into my map but i am not getting proper way to fill the map. 我将从xml中读取数据并将其填充到地图中,但是我没有找到填充地图的正确方法。 can anyone suggest me the best optimize way. 谁能建议我最好的优化方法。

Per default I would use the native DOM API for that. 默认情况下,我将为此使用本机DOM API It feels a bit clunky but does what it needs to do. 感觉有点笨拙,但可以做所需的工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM