⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clusterview.jsp

📁 這是compiere2的官方沒問題版本~我在fedora10上安裝正確無誤~不會出現錯誤訊息 ~不過我發現compiere他自己本身有自己專屬的網站server~所以有架設網站的網友們~ 可能要斟
💻 JSP
字号:
<%@page contentType="text/html"
   import="java.net.*,java.io.*"
%>
<html>
<head><title>Clustered JBoss Management Console</title>
<link rel="stylesheet" href="../style_master.css" type="text/css">
</head>
<body>
<table>
<tr><td>
<h2>Cluster View Bootstrap</h2>
<a href="bootstrap.html" target="ClusterNodeView">Reinvoke Bootstrap</a>

<h2>Loaded Clusters</h2>
<%
   String partition = (String) request.getAttribute("partition");
%>
   <h3 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 hostname = "";

      try
      {
         hostname = InetAddress.getByName(host).getHostName();
      }
      catch(IOException e)  {}

      String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans";
%>
      <li><a href="<%= hostURL%>" target="ClusterNodeView"><%= hostname %></a></li>
<%
   }
%>
   </ul>
</td></tr>
</table>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -