This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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.