chakan.jsp~3~
资源名称:JSP02.rar [点击查看]
上传用户:top0756
上传日期:2022-08-11
资源大小:6501k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
VBScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ page import="java.sql.*" %>
- <%@ page language="java" %>
- <%@ page import="java.util.*" %>
- <html>
- <head>
- <script language="javascript">
- function a(){
- if(form6.stu_id.value=="")
- {alert("请输入学号在查看");return false;}
- }
- function b(){
- if(form7.kechenghao.value=="")
- {alert("请输入课程号在查看");return false;}
- }
- </script>
- <title>
- chakan
- </title>
- </head>
- <body bgcolor="#ffffff">
- <br > 请选择所需要的进行查看:<br><br><hr >
- <br><br>
- <form action="chakan1.jsp" method="POST" name="form6">
- 输入学号查看个人成绩情况: <input type="text" name="stu_id" > <input type="submit" name="chakan" value="查看" onclick="return a()">
- </form>
- <br><br><br><hr>
- <br><br>
- <form action="chakan2.jsp" method="POST" name="form7">
- 输入课程号查看该课学生成绩: <input type="text" name="kechenghao" > <input type="submit" name="chakan" value="查看" onclick="return b()">
- </form>
- </body>
- </html>