Setting session variable in JSF page
843844Jan 22 2008 — edited Jan 23 2008Hello,
How can I set a session variable in a JSF page. I tried using JSTL c:set, but that did not work.
I just want to set a variable in session scope. I even tried to create a ManagedBean which is in Session Scope, but I am unable to set the attribute value.
I need it because i am using CSS for displaying tabs and I'm highlighting the currently selected tab. So I want to set it in session scope so that it can always be highlighted.
Thank you,
Jacob.