aspose file tools*
The moose likes Struts and the fly likes Struts 2 left navigation tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 left navigation tree" Watch "Struts 2 left navigation tree" New topic
Author

Struts 2 left navigation tree

Tanmay_W
Greenhorn

Joined: Oct 07, 2007
Posts: 3
Hi,

I would like to have a left navigation tree menu on my website.
When I click on a tree node a respective page should appear on the body of the website.
The state of node should appear to be open under a tree control used in the left navigation menu.


Can anyone please advice how to build this with Struts 2 ?

Thanks.
-------
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

Struts is an implementation of the Front Controller pattern. It has nothing to do with the way your client-side page looks or functions.
You can start with this tutorial (though it is for a horizontal menu, the principals are the same for a left-side menu).


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Tanmay_W
Greenhorn

Joined: Oct 07, 2007
Posts: 3
I can understand that Struts is a front controller pattern, but can you please suggest a way in which this use case can be designed in J2EE ?.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

Did you look at the tutorial?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 left navigation tree