tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject [PROPOSAL] add Tomcat version output to snoop.jsp sample
Date Wed, 18 Apr 2007 16:48:34 GMT
Hi all,
since I often test with different Tomcat versions I would find it useful to see the TC version
too with the snoop sample, f.e. something like that (or also at the end added):

--- snoop.jsp.orig	Wed Apr 18 18:35:12 2007
+++ snoop.jsp	Wed Apr 18 18:41:46 2007
@@ -19,6 +19,8 @@
 <body bgcolor="white">
 <h1> Request Information </h1>
 <font size="4">
+Server Software: <%= getServletContext().getServerInfo() %>
+<br>
 JSP Request Method: <% out.print(util.HTMLFilter.filter(request.getMethod())); %>
 <br>
 Request URI: <%= request.getRequestURI() %>

do you agree with this small add?

thanks, Guenter.



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


Mime
View raw message