struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose L Martinez-Avial (JIRA)" <>
Subject [jira] [Updated] (WW-4037) Provide functionality to create cookies from an Action
Date Thu, 04 Apr 2013 05:09:15 GMT


Jose L Martinez-Avial updated WW-4037:

> Provide functionality to create cookies from an Action
> ------------------------------------------------------
>                 Key: WW-4037
>                 URL:
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.3.14
>            Reporter: Jose L Martinez-Avial
>              Labels: cookie, interceptors
>             Fix For: 2.3.15
>         Attachments:,
>   Original Estimate: 72h
>  Remaining Estimate: 72h
> As of today Struts provides some functionality to receive cookies in an Action, but there
is no way to create cookies. I solved the issue by creating a custom CookieProviderInterceptor
and CookieProvider interface that provide a standard way to generate cookies. The code I provide
works and has been in production for months, but it is not Struts-ready, in the sense that
it needs refactoring to remove the dependency from javax.servlet in the request; It is though
a starting point to adapt it to Struts.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message