Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
Well, the action handler for step 6 hasn't been defined in struts.xml, so it will use the struts default action handler, which simply returns SUCCESS. That will trigger the JSP processor to process the /expiredSession.jsp and return it to the AJAX client, is that what the javascript handler is exp

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
Chris: Thanks for your help. You touched on two key points. The login procedure is ajax driven and processing a successful login (i.e., moving to the next page) is handled on the client side. Regarding point 6, this is in fact an ajax request. The action handler returns NONE. There are no resu

Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
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 that Struts runs the interceptor stack, finding your expiredSessionInterceptor first 2. When it runs it, it finds that the user is not logged i

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
Yes, here's struts.xml with one ajax action (getClientAccounts). This action is executed when called even though the interceptor returns "loginRequired" http://struts.apache.org/dtds/struts-2.0.dtd";>

Re: iterable tag

2013-01-12 Thread Chris Pratt
Looking through the code and the exception. This appears to be a bug. It appears that OGNL is mistaking the TreeMap.Values Collection as a java.util.Set, when it attempts to coerce it in ognl.SetPropertyAccessor, you get the noted exception. This should probably be reported as a bug, but one wor

Re: iterable tag

2013-01-12 Thread Chris Pratt
You're right Dave, somehow I replied to the wrong email. Looking over the code now. (*Chris*) On Sat, Jan 12, 2013 at 1:08 PM, Dave Newton wrote: > (Isn't it around where the iterator tag is in that source? I thought > that *was* the OP's code this second barf of source.) > > Dave > > > On S

Re: Session Expired Interceptor

2013-01-12 Thread Chris Pratt
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 action in, it's still not working. The web page > expiredSession.jsp is not being shown and there is

Struts 1.3 Tiles not working

2013-01-12 Thread sameer ali
Hi, I am Unable to get tiles to work in my application . I am using Struts 1.3 , stuts-tiles-1.3.10.jar is in the lib folder I am building this application on top of struts-blank.war The struts-config.xml http://struts.apache.org/dtds/struts-config_1_3.dtd";>

Re: iterable tag

2013-01-12 Thread Dave Newton
(Isn't it around where the iterator tag is in that source? I thought that *was* the OP's code this second barf of source.) Dave On Sat, Jan 12, 2013 at 4:04 PM, Chris Pratt wrote: > You said in your original post that you used the tag, > correct? Can I see how you used it? > (*Chris*) > > >

RE: Session Expired Interceptor

2013-01-12 Thread BetBasoo, Peter
I did put redirectAction action in, it's still not working. The web page expiredSession.jsp is not being shown and there is no indication of an error having occurred. When I try this, I observe that the action that initiated the call is still being called, even though the interceptor returns t

Re: iterable tag

2013-01-12 Thread fusillator
Sorry for my misunderstanding, I changed the code of the wiki tutorial about wildcard These is the view: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt

Re: iterable tag

2013-01-12 Thread Umesh Awasthi
I believe what *Chris* has asked is to copy the code from your JSP page i believe you must be using tag in your JSP page to iterate some list so please copy that code from your JSP and provide here On Sat, Jan 12, 2013 at 4:16 PM, fusillator wrote: > Hi Chris, not really sure how to find tha

Re: iterable tag

2013-01-12 Thread fusillator
Hi Chris, not really sure how to find that code... Anyway this has been my steps: $ for lib in /opt/struts-2.3.7/lib/* ; do jar tvf $lib | grep tld && echo $lib; done 3349 Wed Aug 10 12:51:32 CEST 2005 META-INF/sitemesh-decorator.tld 3013 Sat May 15 11:55:14 CEST 2004 META-INF/sitemesh-page.

RE: Session Expired Interceptor

2013-01-12 Thread Mahendru, Ajay
You are missing the redirectAction. Use something like this: programming In your case it would be: loginRequired Regards, Ajay Mahendru -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Friday, January 11, 2013 8:23 PM To: Struts Users Mailing List Subject: