Re: struts2 access session Id

2008-05-14 Thread Jakub Milkiewicz
I've found the same code on Struts2 web page. Thanks anyway 2008/5/14 krishna chary <[EMAIL PROTECTED]>: > use this code you will get session id > code is > > ServletActionContext.*getRequest*().getSession().getId(); >

Re: struts2 access session Id

2008-05-14 Thread krishna chary
use this code you will get session id code is ServletActionContext.*getRequest*().getSession().getId();

Re: struts2 access session Id

2008-05-13 Thread Jakub Milkiewicz
I had the same idea when i mentioned Servlet Config Interceptor below but I just thought there is an easier way. Anyway thanks for reply and it looks like i need to do just like that. 2008/5/13 Laurie Harper <[EMAIL PROTECTED]>: > Jakub Milkiewicz wrote: > > > Hi > > I have a problem with Strut

Re: struts2 access session Id

2008-05-13 Thread Laurie Harper
Jakub Milkiewicz wrote: Hi I have a problem with Struts 2. I am looking for a way to access httpsession id? I have tried using ActionContext.getContext().getSession().get("id") but it returns null. i 've read there is a possibility to use Servlet Config Interceptor

struts2 access session Id

2008-05-13 Thread Jakub Milkiewicz
Hi I have a problem with Struts 2. I am looking for a way to access httpsession id? I have tried using ActionContext.getContext().getSession().get("id") but it returns null. i 've read there is a possibility to use Servlet Config Interceptor