The Your Preferences link to point to the correct preferences page for the currently logged in user.
Refactored the preferences form. preferences.jsp now contains just the form body, while your and user preferences.jsps contain the header of the form i.e. html:form pointing to different actions. Added the new action mappings to struts-config.xml so that yourpreferences and userpreferences will now highlight the navmenu correctly.