Please see the below image....
I am working with struts 2....... There are two jsp pages 1. global menu 2. basic data page
I have included globalmenu.jsp into basicdata.jsp
Since this globalmenu.jsp will be use by all jsp pages into my application...
I want to write a common code in a 1 single action, which will contain all results for the links on global menu
And also I want to write an another action for other part of the page.
My code is something like this:
In short I want to write a 1 common action for menu links which i highlighted in the image.....