Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 69879 invoked from network); 6 Oct 2003 22:07:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Oct 2003 22:07:24 -0000 Received: (qmail 60297 invoked by uid 500); 6 Oct 2003 22:07:04 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 60252 invoked by uid 500); 6 Oct 2003 22:07:03 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 60239 invoked from network); 6 Oct 2003 22:07:03 -0000 Received: from unknown (HELO mscan4.ucar.edu) (192.43.244.126) by daedalus.apache.org with SMTP; 6 Oct 2003 22:07:03 -0000 Received: from localhost (localhost [127.0.0.1]) by mscan4.ucar.edu (Postfix) with ESMTP id A3DBCDAB6C for ; Mon, 6 Oct 2003 16:07:10 -0600 (MDT) Received: from ucar.edu (trail.scd.ucar.edu [128.117.10.151]) by mscan4.ucar.edu (Postfix) with ESMTP id F1819DAB71 for ; Mon, 6 Oct 2003 16:06:53 -0600 (MDT) Message-ID: <3F81E725.4010301@ucar.edu> Date: Mon, 06 Oct 2003 16:05:25 -0600 From: Leif Magden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: img tag welcome-file WARNING Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_10,USER_AGENT_MOZILLA_UA version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Developer warning: If your HTML pages have img tags with empty src attributes, i.e. (these are used to format and justify text on the page) They will cause Tomcat to call your applications welcome-file. Apparently Tomcat handles this the same way as a directory navigation, that is, it is handed to the DefaultServlet. This is invisible to the client but the server is loaded with all the overhead of resolving the welcome-file over and over. In my application this results in approximately double the server/database load for each page navigation. The fix is to specify a clear or transparent image in the src attribute i.e. src="images/clear.gif" Config: Tomcat version 4.1.24 org.apache.catalina.servlets.DefaultServlet (possibly) Windows 2000 or Solaris J2SDK1.4.2 Leif Magden --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org