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
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
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
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";>
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
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
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
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";>
(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*)
>
>
>
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
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
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
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.
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:
14 matches
Mail list logo