xuanxiuke.jsp
资源名称: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>
- xuanke
- </title>
- </head>
- <body bgcolor="#ffffff">
- <br > <font color="red">请选择所需要的进行查看:<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="xuanxiuke1.jsp" method="POST" name="form6">
- <tr><td align="center"><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="xuanxiuke2.jsp" method="POST" name="form7">
- <tr><td align="center"><font color="6633CC"> 输入课程号查看选修该课学生:</td><td><input type="text" name="kechenghao" ></td><td><input type="submit" name="chakan" value="查看" onclick="return b()"></td></tr></table>
- </form>
- </body>
- </html>