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

📄 edit.jsp

📁 本源码为教学管理信息系统
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ taglib prefix="ww" uri="webwork"%>
<%@ include file="/include/header.inc"%>
<%@ page import="com.opensymphony.xwork.util.OgnlValueStack"%>
<html>
	<head>
		<title>Lomboz JSP</title>
	</head>
	<script language="javascript">
<!--
	function editFormSub(){
		if(verify()){
			document.editForm.action="major!save.action";
			document.editForm.submit();
		}
	}
	function backlist(){
		document.editForm.action="major!query.action";
		document.editForm.submit();
	}
	function verify(){
		var form = document.forms['editForm']; 
		var obje = form.elements['majorEntity.ZYMC'];
		if (checkIsNull(obje, "专业名称")== false) return false;	
		return true;
	}
//-->
</script>

	<body>
		<form name="editForm" action="major!save.action" method="post">
			<input type="hidden" name="majorEntity.MAJOR_ID"
				value="<ww:property value="majorEntity.MAJOR_ID"/>">
			<table cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td class="topg" />
				</tr>
			</table>
			<table cellspacing="0" cellpadding="0" align="center" class="wukuang">
				<tr>
					<td width="1%" align="left">
						<img class="img"
							src="<%= request.getContextPath() %>/images/tleft.gif">
					</td>
					<td width="20%">
						[专业信息修改]
					</td>
					<td width="78%" align="right">
						<a href="javascript:editFormSub();"><img class="imgd"
								src="<%= request.getContextPath() %>/images/button/save.gif">
						</a>
						<a href="javascript:backlist();"><img class="imgd"
								src="<%= request.getContextPath() %>/images/button/back.gif">
						</a>
					</td>
					<td width="1%" align="left">
						<img class="img"
							src="<%= request.getContextPath() %>/images/tright.gif">
					</td>
				</tr>
			</table>
			<table cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td class="topg" />
				</tr>
			</table>
			<table border="1" cellspacing="1" cellpadding="2" align="center"
				class="bgtable">
				<tr>
					<td width="10%" align="center">
						专业名称
					</td>
					<td width="90%">
						<input size="50" maxlength="10" name="majorEntity.ZYMC"
							value="<ww:property value="majorEntity.ZYMC"/>" />
					</td>
				</tr>
				<tr>
					<td align="center">
						专业编码
					</td>
					<td>
						<input size="25" maxlength="25" name="majorEntity.ZYJM"
							value="<ww:property value="majorEntity.ZYJM"/>" />
					</td>
				</tr>
				<tr>
					<td align="center">
						所属院系
					</td>
					<td>
						<ww:select  name="'majorEntity.SSXB'" value="majorEntity.SSXB"  listKey = 'dwmc' listValue = 'dwmc' list = 'deptList'/>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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