升级Tomcat版本 apache-tomcat-7.0.77
diff --git a/tomcat-uid/webapps/manager/xform.xsl b/tomcat-uid/webapps/manager/xform.xsl
index f179a1e..61947f1 100644
--- a/tomcat-uid/webapps/manager/xform.xsl
+++ b/tomcat-uid/webapps/manager/xform.xsl
@@ -26,12 +26,12 @@
   <xsl:template match="status">

     <html>

     <head>

-    	<TITLE>Tomcat Status</TITLE>

-		<STYLE type="text/css">

-			body, table, tr, td, a, div, span {

-				vertical-align : top;

-			}

-		</STYLE>

+        <TITLE>Tomcat Status</TITLE>

+        <STYLE type="text/css">

+            body, table, tr, td, a, div, span {

+                vertical-align : top;

+            }

+        </STYLE>

     </head>

     <body>

       <div style='font-size:20px;'>Tomcat Status</div>

@@ -44,55 +44,68 @@
 

   <xsl:template match="jvm">

    <xsl:apply-templates select="memory"/>

+   <b>Memory Pools</b><br />

+   <xsl:apply-templates select="memorypool"/>

+   <hr />

   </xsl:template>

 

   <xsl:template match="memory">

     <table><tr>

-    		 <td><b>JVM:</b></td>

-    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>

-    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>

-    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>

-    	   </tr>

+             <td><b>JVM:</b></td>

+             <td><b>free:</b> <xsl:value-of select="@free"/></td>

+             <td><b>total:</b> <xsl:value-of select="@total"/></td>

+             <td><b>max:</b> <xsl:value-of select="@max"/></td>

+           </tr>

     </table><hr />

   </xsl:template>

 

-  <xsl:template match="connector">

-	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />

+  <xsl:template match="memorypool">

+    <table><tr>

+             <td><b>Name:</b> <xsl:value-of select="@name"/></td>

+             <td><b>Type:</b> <xsl:value-of select="@type"/></td>

+             <td><b>Initial:</b> <xsl:value-of select="@usageInit"/></td>

+             <td><b>Committed:</b> <xsl:value-of select="@usageCommitted"/></td>

+             <td><b>Maximum:</b> <xsl:value-of select="@usageMax"/></td>

+             <td><b>Used:</b> <xsl:value-of select="@usageUsed"/></td>

+           </tr>

+    </table>

+  </xsl:template>

 

-  	<xsl:apply-templates select="threadInfo"/>

-  	<xsl:apply-templates select="requestInfo"/>

-  	<xsl:apply-templates select="workers"/>

+  <xsl:template match="connector">

+     <b>Connector -- </b> <xsl:value-of select="@name"/><br />

+

+      <xsl:apply-templates select="threadInfo"/>

+      <xsl:apply-templates select="requestInfo"/>

+      <xsl:apply-templates select="workers"/>

   </xsl:template>

 

   <xsl:template match="threadInfo">

     <table><tr>

-    		 <td><b>threadInfo </b></td>

-    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>

-    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>

-    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>

-    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>

-    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>

-    	   </tr>

+             <td><b>threadInfo</b></td>

+             <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>

+             <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>

+             <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>

+           </tr>

     </table><hr />

   </xsl:template>

 

   <xsl:template match="requestInfo">

     <table><tr>

-    		 <td><b>requestInfo </b></td>

-    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>

-    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>

-    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>

-    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>

-    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>

-    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>

-    	   </tr>

+             <td><b>requestInfo </b></td>

+             <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>

+             <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>

+             <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>

+             <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>

+             <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>

+             <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>

+           </tr>

     </table><hr />

   </xsl:template>

 

   <xsl:template match="workers">

    <table>

     <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>

-  	<xsl:apply-templates select="worker"/>

+      <xsl:apply-templates select="worker"/>

 

    </table><hr />

   </xsl:template>