Hello... I am using this code to include some menus to my code...
<s:action namespace="/" name="get_header" executeResult="true" />
<jsp:include page="/get_menu" >
<jsp:param name="menuKey" value="configuration"></jsp:param>
<jsp:param name="subMenuKey" value="user.add"></jsp:param>
</jsp:include>
THe problem is that the menus are generated dynamically...
So suppose that we have 2 Actions
ActionA
and get_menu
Action
The jsp page for the result of ActionA calls get_menu to generate the menus.
So suppose that ActionA sets a variable groups
and get_menu
also uses a groups variable...
ActionA's variable will overtake get_menu's variable. I tried many solutions and even jsp:inculde doesnt help:(...