Ok there's just one tiny clarification I might offer, in case this is the problem. Because I think *both* of you are saying the same thing, but maybe not (if this is indeed the difficulty). > -----Original Message----- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 10:20 AM > To: Tomcat Users List > Subject: Re: performance of serving static data? apache or tomcat > > > > Yes, that is exactly what I have been saying. > > John > > Nguyen Anh Tuan wrote: > > > Hi, John, > > Thank you for the discussion. > > > > However, the amount of requests for JSP/Servlet with > > one image sent from a browser to Apache/Tomcat will > > equal exactly the amount of requests for one static > > HTML with one image sent from a browser to a stand > > alone Web server, is that right ?
That depends on what you mean by "Apache/Tomcat" * Case 1 Static HTML which contains 1 Image Apache web server will receive two requests. ONE initial request for the page ONE subsequent request for the image * Case 2 JSP which contains 1 Image Apache web server will receive two requests. ONE initial request for a JSP page which is forwarded to Apache Tomcat. ONE subsequent request for the image, received by Apache Web Server (Apache Tomcat does not receive this request) So for Case 2, Apache *Tomcat* receives ONE request (for the JSP) Base as with Case 1, Apache *Web Server* receives two. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
