<%@page contentType="text/html"
   import="java.net.*"
%>
<html>
<head><title>Clustered JBoss Management Console</title>
<link rel="stylesheet" href="style_master.css" type="text/css">
</head>
<body>
<table>
	<tr><td><img src="images/head_blue.gif" align="left" border="0" alt=""></td></tr>

<tr><td>
<h1>Bootstrap</h1>
<a href="bootstrap.html" target="ClusterNodeView">Reset Cluster View</a>
<hr>

<h1>Loaded Clusters</h1>
<hr>
<%
   String partition = (String) request.getAttribute("partition");
%>
   <h2 class='DomainName'><%= partition %></h2>
   <ul class='MBeanList'>
<%
   String[] partitionHosts = (String[]) request.getAttribute("partitionHosts");
   for(int h = 0; h < partitionHosts.length; h ++)
   {
      String host = partitionHosts[h];
      String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
%>
      <li><a href="<%= hostURL%>" target="ClusterNodeView"><%= host %></a></li>
<%
   }
%>
   </ul>
</td></tr>
</table>

</body>
</html>
