Am building an application using struts2 and tiles. I have a top menu bar, which is common for all the pages, so i declared the menu in tiles. When a menu item is clicked, the respective menu item should be active(i.e. different color). But as i declared the menu item in tiles, the same menu is called for all the pages. Is there a way that i can still keep the menu in tiles and the respective menuitem is activated.

previously i had for each page as;
Java Code:
<li id="header_navigation-spon-[B]active[/B]"><a href="sponsors.html"></a></li>
so when a menuitem is clicked, it goes to the corresponding page and in the menubar it is highlighted.