Hi Peter

The include is actually in the body of the document, right at the
bottom! The thing is the code creates a pixel image and so i wanted to
put this in an area which would not impact the rest of the page. So
should the include be in the head? Do you think this could be the
cause?

Regards
Michael

On Wed, Mar 11, 2009 at 1:44 PM, Peter Crowther
<peter.crowt...@melandra.com> wrote:
>> From: Michael Farah <andromedamob...@gmail.com>
>> The Admob code is a JSP file named AdMob.jsp that is imported
>> into each page
>> of our webapp via this code snippet
>> <jsp:include page="/AdMob.jsp"/>
> [...]
>>       response.addCookie(c);
>
> Just a thought... where's your include?  In order to add the cookie (which 
> must go in the header), I think no bytes of response must have been sent yet 
> - is the include far enough up the file that this is the case?
>
> Or someone more experienced will tell me this isn't a problem with servlets 
> :-).
>
>                - Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to