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

📄 doc_stuinfo_reg.jsp

📁 一个综合系统的完整代码二struts.hibernate3.0,spring的结构
💻 JSP
字号:
<%@ page language="java"  pageEncoding="gb2312"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<link href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/checkform.js"></script>
<script language="javascript">
	function opendialog(){
		//var someValue=window.showModalDialog('getAllstuinfo.htm','','dialogWidth:600px;dialogHeight:320px;status:no;help:no;scrolling=no;scrollbars=yes;');
		var someValue=window.location.href='getAllstuinfo.htm';
		stuid.value=someValue;	
	}
	function openurl(sid){
		//alert(sid);
		window.location.href = "stureginfoList.htm?stuid="+sid;
	}
	function deal(){		
		if(confirm("是否进行学生登记信息数据存盘操作?")){
			form1.submit();
		}
	}	
</script>
<html>
<head>

<c:if test="${sessionScope.loginUser==null}">
	<script language="javascript">
		alert("您未登录或连线超时,请登录系统");
		window.location.href="Content.jsp";		
	</script>  
</c:if>
</head>
<body>
<tr>
		 <td height="44" colspan="6">
			&nbsp;
		 </td>
		</tr>
<form method="POST" action="stuInfoInsert.htm?ctname=dsg" name="form1" onsubmit="return sturegvalid(form1)">
     <table width="520" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td><div align="center">学生编号		  
				     <input type="text" name="stuid" value="${messages.stuId}" onkeypress="if(event.keyCode==13){openurl(stuid.value)}"/>				
				     <input type="button" name="ok" value="确定" onClick="openurl(stuid.value)"/>
				     <input type="submit" name="submit" value="提交" />
	                </div>        
				</td>
			</tr>			
		</table>
		
			<p align="center">
            <table width="520" height="149" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="94" height="35">学生姓名</td>
                <input type="hidden" name="stu_id" value="${messages.stuId}">
                <td width="188"><input type="text" name="name" value="${messages.name}" readonly="readonly"></td>
                <td>班级名称</td>
                <td><input name="bjmc" type="text" value="${messages.classmc}" readonly="readonly"></td>
              </tr>
              <tr>
                <td height="34">专业名称</td>
                <td><input type="text" name="zymc" value="${messages.zymc}" readonly="readonly"></td>
                <td> 入学日期 </td>
                <td><input type="text" name="djrq" value="${messages.djrq}" readonly></td>
              </tr>
              <tr>
                <td height="30"><font color="red"> 经办人 </font></td>
                <td><input type="text" name="jbr"></td>
                <td><font color="red"> 入学分数</font> </td>
                <td><input type="text" name="lqfs"></td>
              </tr>
              <tr>
                <td colspan="4">
	               <input type="hidden" name="classid" value="${messages.classid}"/>
    	           <input type="hidden" name="lsh" value="${messages.lsh}"/>
				</td>
              </tr>
          </table>
          <center><FONT color="red" size="4">${messages.msg}</Font></center>
		</form>		
		   ${sysMsgInf}
</body>
</html>

⌨️ 快捷键说明

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