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

📄 publicshowgrouplist.jsp

📁 java jsp教程
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%
String jspURL = request.getRequestURI();
if(jspURL.indexOf("jsp")!=-1)
  jspURL = jspURL.substring(jspURL.indexOf("jsp")-1);
if(jspURL.indexOf("?")!=-1)
  jspURL = jspURL.substring(0,jspURL.indexOf("?")-1);
%>
<!-- 个人地址本 <%=jspURL%> edited by Ray 2005-11-28 -->
<%@ page import="java.util.List" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="com.icss.cnpc.msgnote.vo.AddrGroupVO" %>
<%@ page import="com.icss.cnpc.msgnote.util.StringUtility" %>

<%
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
%>
<%
	List publicGroupList = (List)request.getAttribute("publicGroupList");
	Iterator  publicGrouplIter = publicGroupList.iterator();
%>
<HTML>
<HEAD>
<TITLE>个人地址薄</TITLE>
<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css" type="text/css">
<script language="JavaScript" src="<%=request.getContextPath()%>/include/common.js"></script>
</HEAD>

<body bgcolor="#ffffff" text="#000000"  leftmargin="0" topmargin="10"  background="<%=request.getContextPath()%>/images/grid.gif">
<form name="form1" method="post" action="">
<br><br>
  <table width=130 border="0" align="center" bgcolor="#FFFFFF"  background="<%=request.getContextPath()%>/images/grid.gif">
    <TR> 
      <TD colSpan=4></TD>
    </TR>
    <TR> 
      <TD colSpan=4></TD>
    </TR>
    <TR> 
      <TD colSpan=4>
		<IMG align=middle alt=21cn border=0 src="<%=request.getContextPath()%>/images/project.gif" width="10" height="11">公共地址薄
	  </TD>
    </TR>
	<%
		while(publicGrouplIter.hasNext()){
			AddrGroupVO addrGroupVO = (AddrGroupVO)publicGrouplIter.next();
			String groupName = StringUtility.filterNullObject(addrGroupVO.getGroupName());//组名
			Integer groupID = addrGroupVO.getGroupId();//组id
			String strGroupName = "";
			if(groupName.length() > 7)
				strGroupName = groupName.substring(0,7);
			else
				strGroupName = groupName;
	%>
    <TR> 
      <TD width="1"></TD>
      <TD align=left width="5"></TD>
      <TD width="20"><img src="<%=request.getContextPath()%>/images/Treeline.gif" width="16" height="16" border=0 align=middle></TD>
      <TD width="85" title="<%=groupName%>"><a href="<%=request.getContextPath()%>/servlet/ShowGroupPersonServlet?buttonFlag=false&groupID=<%=groupID.toString()%>" target="mainFrame"><%=strGroupName%></a> 
      </TD>
    </TR>
	<%
		}	
	%>	
	<TR> 
      <TD colSpan=4></TD>
    </TR>
  </TABLE>
</form>
</body>
</HTML>

⌨️ 快捷键说明

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