You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by peter lin <pe...@labs.gte.com> on 2002/11/04 18:16:45 UTC

AccessLog weirdness


I am experiencing some weird behavior with tomcat 4.1.x, but I don't
know if it's a bug or not. What's happening is this.

My setup is the following:
solaris 8 & win2K
jdk 1.4.1
tomcat 4.1.12
standalone tomcat w/o any other server.

I have a page which uses <iframe></iframe> to load some banner (evil I
know). What ends up happening is two entries are logged in the access
log. If I comment out the <iframe></iframe> only one entry is logged in
access log.  in the log I see an entry:

w/o iframe banner
---------------------------
ip - - [04/Nov/2002:12:08:38 -0500] "GET /logtest.jsp HTTP/1.0" 200 3938
"-" "Mozilla/4.7 [en] (WinNT; U)" 


w/ iframe banner
---------------------------
ip - - [04/Nov/2002:12:13:05 -0500] "GET /logtest.jsp HTTP/1.0" 200 4039
"-" "Mozilla/4.7 [en] (WinNT; U)"
ip - - [04/Nov/2002:12:13:05 -0500] "GET /logtest.jsp HTTP/1.0" 200 4039
"http://darknight.gte.com:9080/logtest.jsp" "Mozilla/4.7 [en] (WinNT;
U)"


Now it gets more complicated. If I use Mozilla, or IE6, this behavior is
not present and the access log only has one entry per page view.  Is
this a HTTP1.0 spec, netscape 4.7 or tomcat issue/bug?  Thanks in
advance to anyone that provides a clue.

peter lin

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>