That is why I wound up doing.
-Original Message-
From: jlm...@gmail.com [mailto:jlm...@gmail.com]
Sent: Sunday, January 13, 2013 9:05 PM
To: Struts Users Mailing List
Subject: Re: Session Expired Interceptor
I also use a session expired interceptor. It detectes if the call is a standard
I also use a session expired interceptor. It detectes if the call is a standard
navigation, or if it is a ajax call(looking for a header in the request). If it
is a navigation, it redirects the user to sessionLogin. if it is a ajax call,
it returns a custom http error code, which is deteced by
Is there any way to cancel the ajax call and redirect to the expiredSession.jsp?
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Sunday, January 13, 2013 1:25 PM
To: Struts Users Mailing List
Subject: RE: Session Expired Interceptor
It's an ajax call-the re
gt; -Original Message-
> From: Chris Pratt [mailto:thechrispr...@gmail.com]
> Sent: Saturday, January 12, 2013 11:27 PM
> To: Struts Users Mailing List
> Subject: Re: Session Expired Interceptor
>
> Well, the action handler for step 6 hasn't been defined in
-Original Message-
From: Chris Pratt [mailto:thechrispr...@gmail.com]
Sent: Saturday, January 12, 2013 11:27 PM
To: Struts Users Mailing List
Subject: Re: Session Expired Interceptor
Well, the action handler for step 6 hasn't been defined in struts.xml, so it
will use the struts default
oginRequired because I thought that it would never get to
> that point because of the interceptor. Is this a valid assumption?
>
> -Original Message-
> From: Chris Pratt [mailto:thechrispr...@gmail.com]
> Sent: Saturday, January 12, 2013 4:19 PM
> To: Struts Users Mailing
[mailto:thechrispr...@gmail.com]
Sent: Saturday, January 12, 2013 4:19 PM
To: Struts Users Mailing List
Subject: Re: Session Expired Interceptor
That looks right to me (except for the fact that if the user logs in there are
no results for getClientAccounts).
1. What should be happening is
gt;
>
> name="loginRequired">loginRequired
>
>
>
> /expiredSession.jsp
>
>
> class="mesirow.action.AccountActions" method="getClientA
ary 12, 2013 3:11 PM
To: Struts Users Mailing List
Subject: Re: Session Expired Interceptor
So you now have this in your struts.xml?
loginRequired
(*Chris*)
On Sat, Jan 12, 2013 at 12:06 PM, BetBasoo, Peter <
pbetba...@mesirowfinancial.com> wrote:
> I did put redirectAction a
--
> From: Mahendru, Ajay [mailto:ajay.mahen...@dish.com]
> Sent: Friday, January 11, 2013 9:27 PM
> To: Struts Users Mailing List
> Subject: RE: Session Expired Interceptor
>
> You are missing the redirectAction. Use something like this:
>
> programming
>
>
turns the loginRequired result.
Any ideas?
-Original Message-
From: Mahendru, Ajay [mailto:ajay.mahen...@dish.com]
Sent: Friday, January 11, 2013 9:27 PM
To: Struts Users Mailing List
Subject: RE: Session Expired Interceptor
You are missing the redirectAction. Use something like
: Re: Session Expired Interceptor
I'm actually surprised it's not erroring out since the global result should
be a redirectAction since you're not forwarding to a JSP.
Dave
(On mobile device, please forgive typos, bizarre autocompletes, and top-
quoting.)
On Jan 11, 2013 10:1
I'm actually surprised it's not erroring out since the global result should
be a redirectAction since you're not forwarding to a JSP.
Dave
(On mobile device, please forgive typos, bizarre autocompletes, and top-
quoting.)
On Jan 11, 2013 10:17 PM, "BetBasoo, Peter"
wrote:
> I have written a si
I have written a simple interceptor to check for an expired session. Here's the
code:
public class ExpiredSessionInterceptor extends AbstractInterceptor implements
Constants
{
private static final long serialVersionUID = 1L;
private String excludeActions = "";
public synchroni
14 matches
Mail list logo