add_kecheng.jsp~3~
资源名称:JSP02.rar [点击查看]
上传用户:top0756
上传日期:2022-08-11
资源大小:6501k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
VBScript
- <%@page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.*" %>
- <html>
- <body>
- <script language="javascript">
- function checkform() {
- if (document.add.number.value=="" || document.add.name.value=="" || document.add.pwd.value==""){
- alert("学号、姓名、密码不能为空!");
- return false;
- }
- else {
- alert("添加成功!");
- return true;
- }
- }
- </script>
- <p align="center"><IMG height=127 width=793 src="image/003.jpg"></IMG></P>
- <% request.setCharacterEncoding("gb2312"); %>
- <head>
- <title>
- 添加学生纪录
- </title>
- </head>
- <FORM Action="add.jsp" Method="post" name="add">
- <table align="center" border="2" width="50%" bordercolorlight="#CC99FF" cellpadding="2" bordercolordark="#FFFFFF" cellspacing="2">
- <tr> <td align=center colspan=2><font color=blue size=5><b>添加课程</font></td>
- </tr>
- <tr align=center><td>
- 课程号:</td><td><INPUT TYPE="text" NAME="课程号"></td>
- </tr>
- <tr align=center><td>
- 课程名:</td><td><INPUT TYPE="text" NAME="课程名" ></td>
- </tr>
- <tr align=center><td>
- 任课教师:</td><td><INPUT TYPE="text" NAME="任课教师"></td>
- </tr>
- <tr align=center><td>
- 星期几:</td><td><INPUT TYPE="text" NAME="星期几" ></td>
- </tr>
- <tr align=center><td>
- 时间:</td><td><INPUT TYPE="text" NAME="时间" ></td>
- </tr>
- <tr align=center><td>
- 上课教室:</td><td><INPUT TYPE="text" NAME="上课教室" ></td>
- </tr>
- <tr><td align=center colspan=2>
- <INPUT align=center TYPE="submit" value="提交" onclick="javascript:return(checkform());"> </td>
- </tr>
- </table>
- </form>
- <br>
- <br>
- <br>
- <br>
- <p align=center>
- <a href=javascript:history.back();>返回</a> </p>
- </body>
- </html>