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

📄 ejb.jsp

📁 這是compiere2的官方沒問題版本~我在fedora10上安裝正確無誤~不會出現錯誤訊息 ~不過我發現compiere他自己本身有自己專屬的網站server~所以有架設網站的網友們~ 可能要斟
💻 JSP
字号:
<%@ taglib uri="/webconsole" prefix="jb" %>
<jb:mbean id="ejb" intf="org.jboss.management.j2ee.StatelessSessionBeanMBean" />

<%
   String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name");
   String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName;
   containerUrl = java.net.URLEncoder.encode(containerUrl);
   containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl;
%>
<html>
<META HTTP-EQUIV="expires" CONTENT="0"/>
<head>
<title>EJB: <%=ejbName%></title>
</head>

  <body>
  
  <h1><center>EJB '<%=ejbName%>'</center></h1>
  
  <p/>
  <p/>
  
  <table border="1">
   <tr>
      <td><b>Management Object Name:</b></td>
   </tr>
   <tr>
      <td><%=ejb.getobjectName()%>&nbsp;</td>
   </tr>
   <tr>
      <td><b>Provides Statistics:</b></td>
   </tr>
   <tr>
      <td><%=ejb.isstatisticsProvider()%>&nbsp;</td>
   </tr>
  </table>

   <a href="<%=containerUrl%>">Visit associated container MBean...</a>

  </body>

</html>

⌨️ 快捷键说明

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