struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kongzhenhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4602) How to add cookies to response after json type result
Date Tue, 02 Feb 2016 07:43:39 GMT
kongzhenhao created WW-4602:
-------------------------------

             Summary: How to add cookies to response after json type result
                 Key: WW-4602
                 URL: https://issues.apache.org/jira/browse/WW-4602
             Project: Struts 2
          Issue Type: Improvement
          Components: Dispatch Filter
    Affects Versions: 2.3.15.3
            Reporter: kongzhenhao


We have a filter before the one of struts2. At the end of filter,we tried to add cookie to
response.When the type of action result is json, the resonse.isCommitted is set true, so the
method addCookie of response did not add cookie to response.



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

Mime
View raw message