This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello, I would like to access a session variable from the JSP page. I saw that I can check for the existence of that variable using <logic resent parameter="myvariable"> but how can I actually write it ?? thanks in advance /Shraga.
Shraga van Shufel
Joined: Apr 20, 2003
Hello, I manage to find it out and I am posting it, so maybe it could help others. when you use the logic tag you can enter run time expression as a value. so to compare a bean peoperty to a session variable use <logic:equal name="mybean" propery="myproperty" value="<%=request.getParameter("myparameter") %>"> some nice logic </logic:equal> Hope it helps /Shraga.