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

📄 person.jsp

📁 本书主要介绍了从基础开始建立Portal的快速应用开发过程(RAD)的方法。通过本书你可以了解到关于Oracle 9iAS Portal产品的主要特性、入口的开发和组织、网络开发和管理、实际的关系型数
💻 JSP
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>

<%
	DealString ds = new DealString();
	//取得菜单类别
	String strType = ds.toString((String)request.getParameter("txt_type"));
	if(strType.equals(""))strType = "1";

	//错误码
	String errcode = ds.toString((String)request.getParameter("errcode"));
	if(errcode.equals(""))errcode = "0";
	if(!errcode.equals("0"))response.sendRedirect("../err.jsp?ip=person/person.jsp&txt_type="+strType+"&errcode="+errcode);

	//增删改类型
	String strEdit = ds.toString((String)request.getParameter("txt_edit"));

	//职工人员编号
	String strPersonNo = ds.toString((String)request.getParameter("txt_personno"));
	if(strPersonNo.equals(""))strPersonNo = "1";

   //联系人序号
	String strOrderNo = ds.toString((String)request.getParameter("txt_lxrxh"));
	
	//取得当前群组编号(group_NO)
	String strGroupNo = ds.toString((String)request.getParameter("txt_groupno"));
	
	//日程序号
	String strRCXH = ds.toString((String)request.getParameter("txt_rcxh"));

	//按什么字段排序
	String strPaixu = ds.toString((String)request.getParameter("txt_paixu"));
	
	String strSrchZD = ds.toString((String)request.getParameter("txt_srch"));

	String childfile = "";
	String addr = "?txt_type="+strType+"&txt_edit="+strEdit+"&txt_personno"+strPersonNo+"&txt_lxrxh"+strOrderNo;
	if(strType.equals("1"))
	{	
		childfile = "displayTxun.jsp"+addr;
		if(strEdit.equals("1")||strEdit.equals("2"))childfile = "addTxun.jsp"+addr;
	}
	else if(strType.equals("2"))
	{
		childfile = "dailyArragementList.jsp"+addr;
		if(strEdit.equals("1"))childfile = "addDailyArragement.jsp"+addr;
		if(strEdit.equals("2"))childfile = "modDailyArragement.jsp"+addr;
		if(strEdit.equals("4"))childfile = "dailyArragementList.jsp"+addr;
		if(strEdit.equals("5"))childfile = "dailyArragement11.jsp"+addr;
		
	}
	else if(strType.equals("3"))
	{
	}
	else if(strType.equals("4"))
	{
		childfile = "personGroup.jsp"+addr;
	}


%>
<HTML>
<head><title>个人辅助信息</title>
<link href="../css/person.css" type=text/css rel=stylesheet>
<script language="javascript" src="../scripts/department.js"></script>
<script src="popup.js"></script>
</head>
<BODY leftMargin=0 topMargin=0 >

<form name=form1 action="person.jsp" method=post>
<input type=text name="txt_type" value="<%=strType%>">
<input type=text name="txt_edit" value="<%=strEdit%>">
<input type=text name="txt_personno" value="<%=strPersonNo%>">
<input type=text name="txt_lxrxh" value="<%=strOrderNo%>">
<input type=text name="txt_groupno" value="<%=strGroupNo%>">
<input type=text name="txt_rcxh" value="<%=strRCXH%>">
<input type=text name="txt_paixu" value="<%=strPaixu%>">
<input type=text name="txt_srch" value="<%=strSrchZD%>">


<TABLE border="0" align="center" cellSpacing=10 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TD>
	<div align="center" width="50%"><a  onclick="changepage('1');" style="cursor:hand;"  > 
	<img src="../images/1.gif" border=0 name="tongxun" >我的通讯录</div></a>
    </td>
	<td>
		<div align="center" width="50%"><a  onclick="changepage('2');" style="cursor:hand;"  > 
		<img src="../images/1.gif" border=0 name="richeng"> 日程安排</div></a>
    </td>
	<td>
		<div align="center" width="50%"><a  onclick="changepage('3');" style="cursor:hand;"  > 
		<img src="../images/1.gif" border=0 name="wardrobe" >个人文件柜</div></a>
    </td>
	<td>
		<div align="center" width="50%"><a  onclick="changepage('4');" style="cursor:hand;"  > 
		<img src="../images/1.gif" border=0 name="persongroup">个人群组</div></a>
    </td>
  </TR>
  </TBODY>
</TABLE>
<hr>
<div style="margin-left: 10pt;margin-bottom: 5pt;width:750px;">
<center>
	<jsp:include page="<%=childfile%>"/>
</center>
</div>
<script>
	function changepage(type)
	{
		document.all.txt_type.value = type;
		document.all.txt_edit.value = "";
		document.all.txt_lxrxh.value = "";
		document.all.txt_paixu.value = "";
		document.all.txt_srch.value = "";
		document.all.form1.action = "person.jsp";
		document.all.form1.submit();
	}
</script>
<hr>
<div>
<CENTER>
<B><FONT size=2>Copyright &copy;2003 All rights reserved. 
</B></FONT></CENTER>
</DIV>
</form>
</BODY>
</HTML>

⌨️ 快捷键说明

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