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

📄 updatemessage.jsp

📁 基于WEB的网上报名系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>南京工程高等职业学校网上报名系统</title>
<style type="text/css">
<!--
.style5 {font-weight: bold; font-size: 36px; }
.style7 {font-size: 18px}
.style8 {font-size: 12px}
body {
	background-attachment: fixed;
	background-image: url();
	background-repeat: no-repeat;
	background-position: center 0px;
	background-color: #f0f0f0;
}
-->
</style>
</head>
<script language="javascript">
function check(f)
{
if(f.userName.value==""){alert("用户名不能为空!");f.userName.focus();return false;}
else if(/[^\x00-\xff]/g.test(f.userName.value)){alert("用户名只能为字母和数字的组合");f.userName.focus();return false;}
else if(f.userName.value.length<6||f.userName.value.length>15){alert("用户名长度不能小于6位或大于15位!");f.userName.focus();return false;}
else if(f.sname.value==""){alert("姓名不能为空!");f.sname.focus();return false;}
else if(f.nation.value==""){alert("民族不能为空!");f.nation.focus();return false;}
else if(f.birthday.value==""){alert("出生年月不能为空!");f.birthday.focus();return false;}
else if(f.identityNo.value.length!=15&&f.identityNo.value.length!=18&&f.identityNo.value.length!=0){alert("身份证号码只能为15或18位!");f.identityNo.focus();return false;}
else if(f.ownAddress.value==""){alert("户口地址不能为空");f.ownAddress.focus();return false;}
else if(f.address.value==""){alert("家庭地址不能为空!");f.address.focus();return false;}
else if(f.mailNo.value==""){alert("邮政编码不能为空!");f.mailNo.focus();return false;}
else if(f.mailNo.value.length!=6){alert("请填写正确的邮政编码!");f.mailNo.focus();return false;}
else if(f.graduateSchool.value==""){alert("毕业学校不能为空!");f.graduateSchool.focus();return false;}
else if(f.speciality.value==""){alert("报考专业不能为空!");f.speciality.focus();return false;}
}
</script>
<jsp:useBean id="csi" class="internetsignup.ManagerCollegeStudentInfo" scope="session"></jsp:useBean>
<script language="javascript">
function checkSelectSex()
{
var s="<%=csi.getSex()%>";
if(s=="男") document.form1.sex[0].checked=true;
else document.form1.sex[1].checked=true;
}
function checkSelectIfMember()
{
var s="<%=csi.getIfMember()%>";
if(s=="是") document.form1.ifMember[0].selected=true;
else document.form1.ifMember[1].selected=true;
}
function checkCultureExtent()
{
var s="<%=csi.getCultureExtent()%>";
if(s=="初中") document.form1.cultureExtent[0].selected=true;
else document.form1.cultureExtent[1].selected=true;
}
function checkSignType()
{
var s="<%=csi.getSignType()%>";
if(s=="城镇应届毕业") document.form1.signType[0].selected=true;
else if(s=="城镇往届毕业") document.form1.signType[1].selected=true;
else if(s=="农村应届毕业") document.form1.signType[2].selected=true;
else if(s=="农村往届毕业") document.form1.signType[3].selected=true;
}
function checkSignSelect()
{
var s="<%=csi.getSignSelect()%>";
if(s=="三年制普通中专") document.form1.signSelect[0].selected=true;
else if(s=="三年制高级技工") document.form1.signSelect[1].selected=true;
else if(s=="五年制高级技工") document.form1.signSelect[2].selected=true;
else if(s=="七年制技师") document.form1.signSelect[3].selected=true;
else if(s=="五年制专科") document.form1.signSelect[4].selected=true;
}
</script>
<% 
String identityNo=csi.getIdentityNo();
if(csi.getIdentityNo().equals("null")) identityNo="";
String housePhone=csi.getHousePhone();
if(csi.getHousePhone().equals("null")) housePhone="";
String mobile=csi.getMobile();
if(csi.getMobile().equals("null")) mobile="";
String score=csi.getScore();
if(csi.getScore().equals("null")) score="";
String fatherName=csi.getFatherName();
if(csi.getFatherName().equals("null")) fatherName="";
String fatherJob=csi.getFatherJob();
if(csi.getFatherJob().equals("null")) fatherJob="";
String fatherPhone=csi.getFatherPhone();
if(csi.getFatherPhone().equals("null")) fatherPhone="";
String motherName=csi.getMotherName();
if(csi.getMotherName().equals("null")) motherName="";
String motherJob=csi.getMotherJob();
if(csi.getMotherJob().equals("null")) motherJob="";
String motherPhone=csi.getMotherPhone();
if(csi.getMotherPhone().equals("null")) motherPhone="";
String remark=csi.getRemark();
if(csi.getRemark().equals("null")) remark="";
String schoolOpinion=csi.getSchoolOpinion();
if(csi.getSchoolOpinion().equals("null")) schoolOpinion="";
%>
<body onLoad="checkSelectSex();checkSelectIfMember();checkCultureExtent();checkSignType();checkSignSelect()">
<form name="form1" onSubmit="return check(this)" method="post" action="ChangeByStudentAccount.jsp">
  <p align="center"><img src="gif/11111.jpg" width="800" height="102" align="absmiddle"></p>
  <table width="662" border="1" align="center" cellspacing="0" bordercolor="#9ebbd8" bgcolor="#f0f0f0">
    <tr bordercolor="#9EBBD8">
      <td height="30" colspan="3"><p align="left" class="style5"><span class="style7">报考学校:南京工程高等职业学校  招生代码:2229、6229</span></p></td>
    </tr>
    <tr>
      <td ><div align="right" class="style8"> *用户名:</div></td>
      <td bordercolor="#9EBBD8" ><div align="left">
          <div align="left">
            <input name="userName" type="text" id="userName2" value="<%=csi.getUserName()%>">
          </div>
      </div></td>
      <td width="251" ><div align="left" class="style8">英文和数字,限制6位以上,15位以内。</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td width="104"><div align="right" class="style8">*姓名:</div></td>
      <td width="293"><div align="left" class="style8">
          <input name="sname" type="text" id="sname3" value="<%=csi.getSname()%>">
      </div></td>
      <td><div align="left" class="style8">必须填写真实姓名,和身份证上姓名一致。</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*性别:</div></td>
      <td><div align="left" class="style8">
          <input name="sex" type="radio" value="男" checked>
          <input type="radio" name="sex" value="女">
          女</div></td>
      <td><div align="left"><span class="style8"></span>&nbsp;&nbsp; </div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*民族:</div></td>
      <td><div align="left" class="style8">
          <input name="nation" type="text" id="nation3" value="<%=csi.getNation()%>">
      </div></td>
      <td><div align="left"><span class="style8"></span>&nbsp;&nbsp; </div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*出生年月:</div></td>
      <td><div align="left" class="style8">
          <input name="birthday" type="text" id="birthday3" value="<%=csi.getBirthday()%>">
      </div></td>
      <td><div align="left" class="style8">必须和身份证上一致。(格式:1981-10-23)</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">身份证号:</div></td>
      <td><div align="left" class="style8">
          <input name="identityNo" type="text" id="identityNo3" value="<%=identityNo%>">
      </div></td>
      <td><div align="left" class="style8">高考生必须填写,中考生可不填。</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*是否团员:</div></td>
      <td><div align="left" class="style8">
          <select name="ifMember" id="select5">
            <option selected>是</option>
            <option>否</option>
          </select>
      </div></td>
      <td><div align="left"><span class="style8"></span></div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*户口地址:</div></td>
      <td><div align="left" class="style8">
          <input name="ownAddress" type="text" id="ownAddress3" value="<%=csi.getOwnAddress()%>">
      </div></td>
      <td><div align="left" class="style8">必须与身份证或户籍卡上一致。</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*家庭住址:</div></td>
      <td><div align="left" class="style8">
          <input name="address" type="text" id="address3" value="<%=csi.getAddress()%>">
      </div></td>
      <td><div align="left" class="style8">务必填写详细,填写至乡镇、街道、村。</div></td>
    </tr>
    <tr bordercolor="#9EBBD8">
      <td><div align="right" class="style8">*邮政编码:</div></td>
      <td><div align="left" class="style8">
          <input name="mailNo" type="text" id="mailNo3" value="<%=csi.getMailNo()%>">
      </div></td>

⌨️ 快捷键说明

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