I would like to indicate the currently chosen page in a shared menu component of a web page in a Struts Tiles project.
I can think of some possible solutions
- check current URL
- call some Javascript to indicate
- possibly hooked into the tiles or struts config files and read.
I'm sure this problem has been faced many times before. What is the best way of dealing with this?