JSTL: set a session variable
843835Jun 18 2003 — edited Jun 19 2003I have to handle some session variables instantiated after a bean elaboration in my app. I declare them with JSTL in this way:
<c:set var="code" value="${bean.value}" scope="session"/>
I have difficulties when I have to use these session vars, I don't understand what is the correct way to call them with JSTL. Now I use simply (in the next pages) this code:
<c:out value="${code}"/>
but the value is in many cases wrong, it not corresponds to the value I expect. Thanks for the help.