[ 
https://issues.apache.org/jira/browse/WW-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147550#comment-15147550
 ] 

Lukasz Lenart commented on WW-4605:
-----------------------------------

Result must be created before {{PreResultListener}} gets executed because in 
other case it will be {{null}} and {{MessageStoreInterceptor}}'s 
{{PreResultListener}} won't work.

Btw. why do you use {{PreResultListener}} to modify result? Basing on 
interceptor should be enough.

> Refactor MessageStoreInterceptor and use PreResultListener to store messages
> ----------------------------------------------------------------------------
>
>                 Key: WW-4605
>                 URL: https://issues.apache.org/jira/browse/WW-4605
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.3.24
>            Reporter: Lukasz Lenart
>             Fix For: 2.3.25, 2.5
>
>
> See WW-4600 as this issue is similar, when response was already comitted 
> (redirect was send, JSP was rendered), logic in {{after}} method won't work 
> as it isn't possible to modify session when response was comitted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to