title: Problems with migration from WAS 6.1 to WAS 7.0 cookie is always null
body: <p>I have this problem:</p>
  
  <ol>
  <li>I migrate my applications from WAS 6.1 to WAS 7.0 using migration tool in <code>C:\Program Files\IBM\SDP\runtimes\base_v7\bin\migration</code></li>
  <li>The application was running just fine in 6.1 server but when I migrated it there is a problem with one <code>Cookie</code> I need for getting the division from the user.</li>
  <li>After debugging a while I realize that the <code>Cookie</code> is getting created but for a reason a don't know the <code>Cookie</code> is not getting put into the <code>HttpServletResponse</code>, so when I try to retrieve the value for the <code>Cookie</code> it says that it is <code>null</code>.</li>
  </ol>
  
  <p>Here's the snippet of code used to do this:</p>
  
  <pre><code>public static void setDivisionCookie( String div, HttpServletResponse res ){
      Cookie cookie = new Cookie(USER_DIVISION_COOKIE_NAME, div);
      cookie.setMaxAge(Integer.MAX_VALUE);
      cookie.setPath("/");
      res.addCookie( cookie );
  }
  </code></pre>
  
  <p>I have to say that the application is running with Struts (these are the jar's I'm using <code>struts-1.2.9</code>, <code>struts2-core-2.1.8.1</code>, <code>struts-taglib-1.3.8</code>)</p>