Hi!
What about using XML instead?
You can find more info at www.w3c.org
XML (DOM) is organized as a tree and you can use it just the way that You
mentioned:
Nodes, Elements, TreeWalkers etc.
Insert Nodes, Delete Nodes and so on
Hope it Helps,
Sorry if I misunderstood your problem
Best wishes,
Andras
p.s. I have used it with servlets and it works.
-----Original Message-----
From: David Sanders <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, June 10, 1999 3:50 AM
Subject: Servlet using Swing
>Does it make sense to use the model interfaces and classes of Swing in a
>servlet?
>
>I'd like to model tree data using TreeModel and TreeNode interfaces. A JSP
>page will then call beans implementing those interfaces in order to present
>a tree view of nodes. Instead of writing my own tree algorithm, .e.g.,
>getParent, TreeModel makes sense. But, Swing often implies a Swing GUI.
Of
>course, the servlet wouldn't use any of the Swing UI classes.
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html