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
posted 14 years ago
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.