tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r612636 - /tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
Date Wed, 16 Jan 2008 23:42:39 GMT
Author: markt
Date: Wed Jan 16 15:42:37 2008
New Revision: 612636

URL: http://svn.apache.org/viewvc?rev=612636&view=rev
Log:
Fix 43315. Display value rather than key.

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java

Modified: tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java?rev=612636&r1=612635&r2=612636&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java Wed Jan 16 15:42:37
2008
@@ -382,7 +382,7 @@
 
             Map.Entry entry = (Map.Entry) iterator.next();
             String displayPath = (String) entry.getKey();
-            String contextPath = (String) entry.getKey();
+            String contextPath = (String) entry.getValue();
             Context context = (Context) host.findChild(contextPath);
             if (displayPath.equals("")) {
                 displayPath = "/";



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


Mime
View raw message