chakan.jsp~7~
资源名称: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("请输入学号在查看");
- form6.stu_id.focus();
- return false;}
- }
- function b(){
- if(form7.kechenghao.value=="")
- {alert("请输入课程号在查看");
- form7.kechenghao.focus();
- return false;}
- }
- </script>
- <title>
- chakan
- </title>
- </head>
- <body bgcolor="#ffffff">
- <br > 请选择所需要的进行查看:<br><br><hr ><br><br>
- <table width="100%" 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;">
- <form action="chakan1.jsp" method="POST" name="form6">
- <tr><td><font color="6633CC"> 输入学号查看个人成绩情况:</td><td><input type="text" name="stu_id" ></td><td><input type="submit" name="chakan" value="查看" onclick="return a()"></td></tr>
- </form>
- <form action="chakan2.jsp" method="POST" name="form7">
- <tr><td><font color="6633CC"> 输入课程号查看该课学生成绩:</td><td><input type="text" name="kechenghao" ></td><td><input type="submit" name="chakan" value="查看" onclick="return b()"></td></tr>
- </form></table>
- </body>
- </html>