index.jsp

来自「jboss服务器! java开发员必备! 一般与sqlserver数据库组合」· JSP 代码 · 共 302 行 · 第 1/2 页

JSP
302
字号
      </tr>
     </table>
     </td>
     </tr>
    </tb:iterate>
  </table>
  </td>
    <%
  }
    %>

    <%
    if (!centerIsEmpty) {
      int index = CENTER;
    %>
  <td width="100%" valign="top">
    <table id="main" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tb:iterate region="<%= center %>">
      <tr>
       <td height="16" width="24" colspan="2" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_01.gif" width="24" height="16" alt=""></td>
       <td height="3" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_02.gif" width="100%" height="3" alt=""></td>
       <td height="3"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="3" alt=""></td>
      </tr>
      <tr>
       <td height="18" rowspan="2" width="100%" valign="middle" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif" class="portal-left-title-black"><%= title %></td>
       <td height="18" rowspan="2" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_04.gif" width="9" height="18" alt=""></td>



       <td height="18" rowspan="2" background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_03.gif" align="right">
          <%@ include file="decoration.jsp" %>
       </td>
       <td height="18" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_08.gif" width="17" height="18" alt=""></td>
       <td height="13"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="13" alt=""></td>
      </tr>
      <tr>
       <td height="11" width="14" rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_09.gif" width="14" height="11" alt=""></td>
       <td height="5" width="10"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_10.gif" width="10" height="5" alt=""></td>
       <td height="5"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="5" alt=""></td>
      </tr>
      <tr>
       <td height="6" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_11.gif" width="100%" height="6" alt=""></td>
       <td height="6"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_12.gif" width="17" height="6" alt=""></td>
       <td height="6"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="6" alt=""></td>
      </tr>
      <tr>
       <td background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_13.gif">&nbsp;</td>
       <td colspan="4" valign="top" bgcolor="#FFFFFF"><%

/*
               FragmentResult main = _page.getMain();
               WindowContext wctx = main.getProducer();
               if (wctx instanceof WindowContext)
               {
                  Window window = (Window)preq.getServer().getObject(wctx.getID());
                  out.print("<div style=\"float:right;\">");
                  out.print(getPortletModeBar(preq, presp, (WindowContext)wctx, contextPath, window));
                  out.print("</div>");
                  out.print("<div style=\"float:right;\">");
                  out.print(getWindowStateBar(preq, presp, (WindowContext)wctx, contextPath, window));
                  out.print("</div>");
               }
*/

            %>
            <%= content %>
        </td>
       <td background="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_15.gif">&nbsp;</td>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="328" alt=""></td>
      </tr>
      <tr>
       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_16.gif" width="14" height="16" alt=""></td>
       <td height="16" colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_18.gif" width="100%" height="16" alt=""></td>
       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/portlet_middle_top_19.gif" width="17" height="16" alt=""></td>
       <td height="16"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="1" height="16" alt=""></td>
      </tr>
      <tr>
       <td colspan="7"><img src="<%= contextPath %>/nodesk/images/portlet_middle_top/spacer.gif" width="100%" height="1" alt=""></td>
      </tr>
    </tb:iterate>
    </table>
  </td>
    <%
  }
    %>

    <%
    if (!rightIsEmpty) {
      int index = RIGHT;
    %>
  <td valign="top">
      <table width="191" border="0" align="right" cellpadding="0" cellspacing="0" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_background.gif">
      <tb:iterate region="<%= right %>">
   <tr>
    <td>
      <table id="right" border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_01.gif" width="15" height="5" alt=""></td>
       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_02.gif" width="100%" height="5" alt=""></td>
       <td rowspan="2"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_03.gif" width="15" height="21" alt=""></td>
      </tr>
      <tr>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_04.gif" width="15" height="16" alt=""></td>
       <td width="15"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_05.gif" width="15" height="16" alt=""></td>
       <!--td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_06.gif" width="1" height="16" alt=""></td-->
       <td nowrap valign="middle" background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" class="portal-left-title-white"><%= title %></td>
       <td width="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_08.gif" width="4" height="16" alt=""></td>
       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_07.gif" align="right" width="100%">
          <%@ include file="decoration.jsp" %>
       </td>
      </tr>
      <tr>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_12.gif" width="15" height="7" alt=""></td>
       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_13.gif" width="100%" height="7" alt=""></td>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_14.gif" width="14" height="7" alt=""></td>
      </tr>
      <tr>
       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_15.gif" width="15" height="100%" alt=""></td>
       <td colspan="4" bgcolor="#FFFFFF"><%= content %></td>
       <td background="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_17.gif" width="14" height="100%" alt=""></td>
      </tr>
      <tr>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_18.gif" width="15" height="15" alt=""></td>
       <td colspan="4"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_19.gif" width="100%" height="15" alt=""></td>
       <td><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_20.gif" width="14" height="15" alt=""></td>
      </tr>
      <tr>
       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/portlet_left_top_21.gif" width="191" height="1" alt=""></td>
      </tr>
      <tr>
       <td colspan="6"><img src="<%= contextPath %>/nodesk/images/portlet_left_top/spacer.gif" height="1" alt=""></td>
      </tr>
     </table>
     </td>
     </tr>
     </tb:iterate>
</table>

  </td>
 </tr>
 <% } %>

 <tr>
  <td class="portal-copyright" height="10" colspan="<%= nbCol %>" align="center" valign="top">Powered by <a class="portal-copyright" href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br>
  Theme by <a class="portal-copyright" href="http://www.nodesk.org">Nodesk</a>
  </td>
 </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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