struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Schröder" <simon.v...@gmx.de>
Subject Re: Session ID
Date Fri, 15 Aug 2008 12:39:42 GMT
> That would work for a action, but how to it for interceptor?

Try this one:
ServletActionContext.getRequest().getSession().getId();

/Stephan


-------- Original-Nachricht --------
> Datum: Fri, 15 Aug 2008 10:27:35 +0200
> Von: "Hrvoje Ban" <kyrogar@gmail.com>
> An: "Struts Users Mailing List" <user@struts.apache.org>
> Betreff: Re: Session ID

> On Fri, Aug 15, 2008 at 9:47 AM, Chris Pratt <thechrispratt@gmail.com>
> wrote:
> > I usually implement ServletRequestAware so that I can call
> > request.getSession().getId().  I would love to see them add that value
> to
> > the SessionMap but it's not there at the moment.
> >  (*Chris*)
> 
> That would work for a action, but how to it for interceptor?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message