Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 left navigation tree

 
Tanmay_W
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Tanmay_W
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look at the tutorial?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic