Re: Token Session Interceptor problems
Martin Gilday <[email protected]> Fri, 22 Dec 2006 11:09:41 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <28551302.1166807411592.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I've had a go at trying to add the fix myself. So far I have come up with the following which seems to work for going backwards then forwards again. Initially I just had the reponse been updated but this resulted in my reirect missing the servletContext (even with prependServletContext as true); [code] //put response and request from this invocation into the saved invocation ActionContext savedAc = savedInvocation.getInvocationContext(); HttpServletResponse currentResponse = (HttpServletResponse)ac.get(ServletActionContext.HTTP_RESPONSE); savedAc.put(ServletActionContext.HTTP_RESPONSE, currentResponse); savedAc.put(ServletActionContext.HTTP_REQUEST, request); [/code] What this doesn't seem to fix is double pressing the button. This correctly identfies the invalid token but then nothing seems to happen. Thanks, Martin. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=53319&messageID=109756#109756