I\'ve got the following (shortened) struts2 action:
public class MyAction extends BaseAction implements CookiesAware { public String execute() { if (
Following article has more details on how to use cookie aware interface http://www.journaldev.com/2203/how-to-get-servlet-session-request-response-context-attributes-in-struts-2-action