tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Milutinovic" <Nikola.Milutino...@ev.co.yu>
Subject Re: Expression Language question
Date Mon, 02 Jun 2003 05:02:02 GMT
> I think that's the ticket.

Yes, Tim, but I'd like to be able to differentiate between "user not logged in" - session.isNew()
and "user logged in, but error in web-app" - !session.isNew() and session.getAttribute( "userID"
) == null.

Is there a way to call a method from EL? Like:

<c:set var="login" value="${session.isNew()}"/>

Or would this defeat the purpose of introducing EL?

Nix.
Mime
View raw message