mayby i am wrong but
PageContext.SESSION is a string, so how could it expose a property "new" ?
why do'nt you just use the implcit _session_-object?
-joe

----- Original Message -----
From: Matthias Kerkhoff <[EMAIL PROTECTED]>
To: Craig R. McClanahan <[EMAIL PROTECTED]>
Sent: Monday, November 20, 2000 3:26 AM
Subject: Re[2]: [Q] How to query session.isNew() with struts:logic tags


> >> I need a hint, how I could query properties of implicit JSP variables
> >> like session, request or page. I tried the following, but it didn't
work:
> >>
> >> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="if" %>
> >> <if:equal name="<%= PageContext.SESSION %>" property="new"
value="true">Session is new</if:equal>
> >>
> >> Is this my fault, or have I (once again) found a container bug ?
> >>
>
> > It would be helpful to know what kind of compile or runtime error you
are getting.
>
> Ah, sorry. It's a runtime error saying that javax.servlet....
> (ie. PageContext.SESSION) doesn't exist as bean.
>
> --
> Matthias                        (mailto:[EMAIL PROTECTED])
>
>

Reply via email to