I'd like to use either the <when> or <if> tags to test for existence of a
session variable.

I tried:

<c:if test="$session.username != null">
        session.username is available
</cf:if>

But it didn't recognize $session.

I'm trying to replace the existing working code with JSTL tags:
<%
        if (session.getAttribute("username") != null) {
%>
        session.username is available
<%
        }
%>

Any pointers would be appreciated.
Thanks.
Anuj.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to