Re: Using Cookies with Interceptors
Greg Pelly <[email protected]> Wed, 06 Dec 2006 11:45:17 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <10026874.1165427147416.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Thanks, this link and the architecture diagram are great. I think it would help other users to include some text on the interceptors page letting people know that after an action is invoked, the view will already have been rendered. Perhaps I'm just seeing my own problem and generalizing, but when I think "do this after the action", interceptors are the first place I'd add something. How about a final line in the overview beginning here: "....or it may choose to do some processing before and/or after delegating the rest of the procesing using ActionInvocation#invoke(). Note that after the ActionInvocation is invoked, the view (ie, the HttpResponse) has been commited. To perform processing after the action executes that will affect the HttpResponse (for example to add cookies or other headers), see the section on the PreResultsListener." Just a suggestion. Greg --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=52119&messageID=105571#105571 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]