Author: markt
Date: Mon Sep  6 09:24:54 2010
New Revision: 992982

URL: http://svn.apache.org/viewvc?rev=992982&view=rev
Log:
Switch to a JSP for the Tomcat home page and make the version numebr dynamic as 
the hard-coded version number in the static page can cause confusion in when 
using CATALINA_BASE and switching between multiple CATALINA_HOMEs

Added:
    tomcat/trunk/webapps/ROOT/index.jsp
      - copied, changed from r992963, tomcat/trunk/webapps/ROOT/index.html
Removed:
    tomcat/trunk/webapps/ROOT/index.html

Copied: tomcat/trunk/webapps/ROOT/index.jsp (from r992963, 
tomcat/trunk/webapps/ROOT/index.html)
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/ROOT/index.jsp?p2=tomcat/trunk/webapps/ROOT/index.jsp&p1=tomcat/trunk/webapps/ROOT/index.html&r1=992963&r2=992982&rev=992982&view=diff
==============================================================================
--- tomcat/trunk/webapps/ROOT/index.html (original)
+++ tomcat/trunk/webapps/ROOT/index.jsp Mon Sep  6 09:24:54 2010
@@ -105,7 +105,7 @@
         <img src="tomcat.gif" alt="The Mighty Tomcat - MEOW!"/>
     </div>
     <div class="fl">
-        <h1>Apache Tomcat @VERSION@</h1>
+        <h1>Apache Tomcat <%=request.getServletContext().getServerInfo() 
=></h1>
     </div>
     <div class="fr">
         <img src="asf-logo-wide.gif" alt="The Apache Software Foundation"/>



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

Reply via email to