RE: Session Expired Interceptor

2013-01-13 Thread BetBasoo, Peter
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

Re: Session Expired Interceptor

2013-01-13 Thread jlmagc
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

RE: Session Expired Interceptor

2013-01-13 Thread BetBasoo, Peter
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

RE: Session Expired Interceptor

2013-01-13 Thread Dave Newton
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

RE: Session Expired Interceptor

2013-01-13 Thread BetBasoo, Peter
-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

Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
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

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
[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

Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
gt; > > name="loginRequired">loginRequired > > > > /expiredSession.jsp > > > class="mesirow.action.AccountActions" method="getClientA

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
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

Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
-- > 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 > >

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
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

2013-01-12 Thread Mahendru, Ajay
: 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

Re: Session Expired Interceptor

2013-01-11 Thread Dave Newton
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

Session Expired Interceptor

2013-01-11 Thread BetBasoo, Peter
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