Re: Problems with tokenSession interceptor

2009-11-30 Thread Diego Manilla Suárez
I found the problem. I was mapping the FilterDispatcher servlet for all dispatchers, like this: struts2 /* REQUEST INCLUDE FORWARD ERROR So the FilterDispatcher servlet was creating new ActionContexts for each JSP being forwarded (I'm using

Problems with tokenSession interceptor

2009-11-30 Thread Diego Manilla Suárez
Hi. I'm trying to use the tokenSession interceptor to prevent double submit problems. The problem is that this line in TokenHelper.setToken (invoked from tag) always return null: ActionContext.getContext().getSession() I'm also using the createSession interceptor, but it's still not working.