This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I desperately need help with a problem I'm having using struts tiles. I have a menu with seven options in a file called 'menu.jsp'. This menu appears on the side of every page throughout my application. However, I now want to be able to change the colour of the text for whatever option is currently selected. I've tried using 'onclick' to change the colour of the text for the selected option but because the original colours are defined in 'menu.jsp', once the page reloads the original menu tile is displayed again (ie with no colour changes). I am trying to avoid writing a seperate menu tile for each menu option selected but can't see any other way round this problem. Am I trying to do the impossible?
Any help is appreciated. I'd like to know if anyone else has found a way around this.
Onion rings are vegetable donuts. Taste this tiny ad: