Or the HTML page has a stylesheet link or javascript link or an image tag or anything else. As Mark says, use a client tool to trace the requests from the browser.
Tim -----Original Message----- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 2:14 AM To: Tomcat Users List Subject: Re: Tomcat triggers ServletRequestListener twice per request... N G wrote: > Hi, > > I have a regular HTML page and a ServletRequestListener. For some > reason Tomcat invokes requestInitialized and requestDestroyed twice > for every client request. > In other words: > requestInitialized > requestDestroyed > requestInitialized > requestDestroyed > > Could someone explain to me why this is happening? I have NO Filters > or MVC going on here. Just a regular HTML page. At a guess, the browser is making two requests. One for your page and one for favicon.ico Use ieHttpheaders (for IE) or Live Http Headers (for Firefox) to confirm this. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]