in the action we can create cookie using HttpServletResponse
@Override
public void run(HttpServletRequest request, HttpServletResponse response)
throws ActionException {
Cookie loginCookie= new Cookie("loginCountry", "DE");
response.addCookie(loginCookie);
}
}