I may be bias, but I've never seen a more flexible tree solution than this...

    http://www.keyboardmonkey.com/pilotlight

...scroll down and do the turorials under "JSP Recursion & TREES!". I've made
a lot of trees, but this is the least clumsy solution, as the markup is simply
Html and the nested Struts tags, and not embedded markup in java logic.

The tutorial will walk you through to making a tree of directories on the
server's hard drive.

Give it a bash.


Arron.


> If you need to display a tree in html using JSP, I don't think struts will
> help you out too much there.
> You can have struts hold the data in some form or other but the difficulty
> may lie in the displaying of data as there is no standard html tree and
> expanding/collapsing tree branches could be complex.
> 
> I've created the html tree in java code with recursion and that was a fast,
> allbeit not flexible solution.
> 
> I've also represented my tree data in xml and used xslt to transform it into
> an html tree structure consisting of ul and li tags.  That worked nicely
> (not too fast though) and was a very flexible solution.  Used javascript to
> expand/collapse.
> 
> Steve
> 
> -----Original Message-----
> From: Pani Ramasami [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 5:53 PM
> To: 'Struts Users Mailing List'
> Subject: need to display a tree struture in JSP
> 
> Hi:
> 
> I have a object which contains all the necessary data. Now, I need to
> display the data in a Tree structure in my JSP. Iam using Stuts 1.1b3. (may
> be irrelavant) 
> 
> If any of you have done this succesfully, kindly guide me on how to proceed.
> 
> Thanks,
> Pani.
> 
> _____________________________________________________________
> Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to