I have a landing page on another domain - i.e. www.domain1.com
in a page on that domain - there is the following:
(an image src that points to a jsp on another domain.)
What the g1.jsp is supposed to do is to set the cookie on the client's machine and then redirect to a blank.gif image. The problem is that I cannot set a cookie on the client's machine and return an image without 1) doing something with the content header i believe. or 2) breaking up into two steps because a cookie is added to the reponse object and there can only be one response for each request.