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

📄 up_menujc01.jsp

📁 java开发的系统,主要用SS框架,以供大家研究和参考学习.
💻 JSP
字号:
<%@page contentType="text/html; charset=GB2312"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>数据表显示</title>
		<link href="${pageContext.request.contextPath}/css/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
		  function formcheck(){
		    if(document.DeptinfoForm.depname.value==""){
		        window.alert('部门名称不能为空');
		        document.DeptinfoForm.depname.focus();
		        return false;
		    }
		    if(document.DeptinfoForm.depcode.value==""){
		        window.alert('部门代号不能为空');
		        document.DeptinfoForm.depcode.focus();
		        return false;
		    }
		       if(document.DeptinfoForm.depremark.value==""){
		        window.alert('部门备注不能为空');
		        document.DeptinfoForm.depremark.focus();
		        return false;
		    }
		    return true;
		  
		  }
		</script>
	</head>

	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<html:form action="/deptEdit?method=${ActionName}" method="post">
				<tr>
					<td>
						<table width="95%" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="6%" height="38">
									<div align="center">
										<img src="${pageContext.request.contextPath}/images/rule0.gif" width="20" height="20" />
									</div>
								</td>
								<td width="94%">
									<span class="sys_list_y">${TitleName }</span>
								</td>
							</tr>

							<tr>
								<td height="35" colspan="2">
									<div align="right">
										<input name="submit1" type="submit" class="input_button9"
											value="保存" onclick="return formcheck();" />
										<input name="submit2" type="button" class="input_button9"
											value="返回"  onclick="history.go(-1);"/>
									</div>
								</td>
							</tr>
						</table>
						<table width="95%" border="0" align="center" cellpadding="2"
							cellspacing="1" bgcolor="#E4E4E4">
							<html:hidden property="uuid"/>

							<tr>
								<td width="15%" height="24" bgcolor="#F7F7F7">
									<div align="right">
										部门名称:
									</div>
								</td>
								<td width="85%" bgcolor="#F7F7F7">
									<html:text property="depname" size="20"></html:text>
								</td>
							<tr>
								<td height="24" bgcolor="#F7F7F7">
									<div align="right">
										部门代号:
									</div>
								</td>
								<td bgcolor="#F7F7F7">
								<html:text property="depcode" size="20"></html:text>
								</td>
							</tr>
							<tr>
								<td height="24" bgcolor="#F7F7F7">
									<div align="right">
										部门备注:
									</div>
								</td>
								<td bgcolor="#F7F7F7">
								<html:textarea property="depremark" cols="19" rows="4" ></html:textarea>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</html:form>
		</table>

	</body>
</html>

⌨️ 快捷键说明

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