addform.jsp~22~
资源名称:JSP02.rar [点击查看]
上传用户:top0756
上传日期:2022-08-11
资源大小:6501k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
VBScript
- <%@ page contentType="text/html; charset=GBK" %>
- <html>
- <head>
- <SCRIPT language="JavaScript">
- function a() {
- if(form1.stu_id.value==""){
- alert("学号不能为空,请重新输入");
- form1.stu_id.focus();
- return false;
- }
- return true;
- }</script>
- <title>
- 输入数据
- </title>
- </head>
- <body text="#808080" link="#FF99CC" vlink="#FF8080" alink="#FF99CC" topmargin="0" leftmargin="0"><style>
- <!--
- BODY {SCROLLBAR-FACE-COLOR: #FFFFFF; SCROLLBAR-HIGHLIGHT-COLOR: #FFFFFF; SCROLLBAR-SHADOW-COLOR: #FFFFFF; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #FFAAAA; SCROLLBAR-TRACK-COLOR: #FFFFFF; SCROLLBAR-DARKSHADOW-COLOR: #FFFFFF; }
- -->
- </style>
- <center>
- <br><br>
- <form name="form1" method="POST" action="add.jsp">
- <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.txt"
- S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
- <table cellspacing="0" cellpadding="4" rules="all" bordercolor="#CC9966" border="1" id="dg_rxkb" style="background-color:White;border-color:#CC9966;border-width:1px;border-style:None;width:100%;border-collapse:collapse;"> <tr >
- <td colspan="2"><div align="center" ><strong>添 加 学 生</strong></font></div></td>
- </tr>
- <tr>
- <td ><div align="center" >姓 名:</div></td>
- <td align="center" ><input name="stu_name" type="text" size="20"></td>
- </tr>
- <tr>
- <td ><div align="center">学 号:</div></td>
- <td align="center"><input name="stu_id" type="text" size="20"></td>
- </tr>
- <tr>
- <td ><div align="center">密 码:</div></td>
- <td align="center"><input name="stu_password" type="password" size="20"></td>
- </tr>
- <tr>
- <td><div align="center">性 别:</div></td>
- <td align="center" ><input name="sex" type="text" size="20"></td>
- </tr>
- <tr>
- <td align="center"><div align="center">专 业:</div></td>
- <td align="center" ><input name="dept" type="text" size="20"></td>
- </tr>
- <tr>
- <td align="center"><div align="center">民 族:</div></td>
- <td align="center"><input name="mz" type="text" size="20"></td>
- </tr>
- <tr>
- <td ><div align="center">政治面貌:</div></td>
- <td align="center"><input name="zzmm" type="text" size="20"></td>
- </tr>
- <tr >
- <td ><div align="right"><input type="submit" value="提 交" onClick="return a()"name="B1"></td>
- <td> <div align="center"><input type="reset" value="重 写" name="B2" >
- </td>
- </tr>
- </table>
- <p> </p>
- </form>
- </body>
- </html>