You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kriss Weissmann <k....@gmx.net> on 2002/05/15 23:01:50 UTC
how to check session time out with jsp tag on jsp files ???
Hi all,
is there a way to check for a session time out based on (struts) jsp-tags?
I´m aware of the request.getSession(false) call, but I´d like to do it with
tags (for uniformity).
TIA
Kriss
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: how to check session time out with jsp tag on jsp files ???
Posted by Victor Hadianto <vi...@nuix.com.au>.
On Thu, 16 May 2002 08:17, you wrote:
> And if the session is timed out, I do get a NullPointer with
> <logic:present>, don´t I?
Check for <logic:notPresent> first.
--
Victor Hadianto
---------------
spagmumps, n.: Any of the millions of Styrofoam wads that accompany
mail-order items. -- "Sniglets", Rich Hall & Friends
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: how to check session time out with jsp tag on jsp files ???
Posted by Kriss Weissmann <k....@gmx.net>.
And if the session is timed out, I do get a NullPointer with
<logic:present>, don´t I?
At least this is what happens to the other tags accessing the session after
time out with the result of ugly Ex´s on the screen, wich I´d like to
avoid...
----- Original Message -----
From: "James Mitchell" <jm...@telocity.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, May 15, 2002 11:02 PM
Subject: RE: how to check session time out with jsp tag on jsp files ???
> If you have anything in the session you can test with logic:present
>
> JM
>
> > -----Original Message-----
> > From: Kriss Weissmann [mailto:k.weissmann@gmx.net]
> > Sent: Wednesday, May 15, 2002 5:02 PM
> > To: struts-user@jakarta.apache.org
> > Subject: how to check session time out with jsp tag on jsp files ???
> >
> >
> > Hi all,
> > is there a way to check for a session time out based on (struts)
jsp-tags?
> > I´m aware of the request.getSession(false) call, but I´d like to
> > do it with
> > tags (for uniformity).
> >
> > TIA
> > Kriss
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: how to check session time out with jsp tag on jsp files ???
Posted by James Mitchell <jm...@telocity.com>.
If you have anything in the session you can test with logic:present
JM
> -----Original Message-----
> From: Kriss Weissmann [mailto:k.weissmann@gmx.net]
> Sent: Wednesday, May 15, 2002 5:02 PM
> To: struts-user@jakarta.apache.org
> Subject: how to check session time out with jsp tag on jsp files ???
>
>
> Hi all,
> is there a way to check for a session time out based on (struts) jsp-tags?
> I´m aware of the request.getSession(false) call, but I´d like to
> do it with
> tags (for uniformity).
>
> TIA
> Kriss
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>