Training and application development. Let our experts develop your applications. We're fast. We're reasonably priced. We've been there... done that.
To contact Mark send an email to mark@mjm.net. You will receive an auto response from my mail server to verify you're not a spammer.
© Mark Menard
struts2 cookbook - login interceptor
I tried the code where a httpRequest is being sought from ActionContext with get(HTTP_REQUEST) method. I tried this code myself but was unable to make this work. The ActionContext does not provide access to HTTP_REQUEST because there is no element with this key.
Has this been tried by anyone? I am using spring with struts on one of projects and want to access httpsession attribute from the interceptor for pretty much the same functionality described in loginInterceptor here.
Thanks
Mahesh