Re: Using Cookies with Interceptors

Greg Pelly <[email protected]> Wed, 06 Dec 2006 13:16:46 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <20224827.1165432637022.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Toby,

I just found an error in the "Through Action" section of http://wiki.opensymphony.com/display/WW/PreResultListener

[code]
ActionContext.getActionInvocation().addPreResultListener()
[/code]

won't work because getActionInvocation is not a static method. You need to do this:

[code]
ActionContext.getContext().getActionInvocation().addPreResultListener()
[/code]

Greg
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52119&messageID=105589#105589

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]