You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2016/03/03 18:24:18 UTC
[jira] [Commented] (WW-4605) Refactor MessageStoreInterceptor and
use PreResultListener to store messages
[ https://issues.apache.org/jira/browse/WW-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178175#comment-15178175 ]
Lukasz Lenart commented on WW-4605:
-----------------------------------
I have no better idea, reverting back to previous order of creating a {{Result}} will break {{MessageStore}} implementation. Another idea is to revert WW-4600 as well, thus will remove the need of refactoring to {{PreResultListener}} and this can be done in 2.5.
> 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
> Assignee: 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)