📄 delstu.jsp
字号:
<%@ page contentType="text/html; charset=GB2312"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>学生管理系统</title>
<link rel="stylesheet" type="text/css" media="all" href="./../../css/StyleText.css" title="Aq" />
<script type="text/javascript" language="javascript">
function getxmlhttp(){
if(window.XMLHttpRequest){
xmlhttp=new XMLHttpRequest();
}else if(typeof ActiveXObject != "undefined"){
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
return xmlhttp;
}
function info(){
if (xmlhttp.readyState==4) {
var response = xmlhttp.responseText;
window.alert(response);
}
}
function del(){
var i = Math.floor(Math.random()*1000);
var url="/xsglxt/DelStu?asdf="+i;
xmlhttp=getxmlhttp();
if(xmlhttp){
xmlhttp.open("get",url,false);
xmlhttp.onreadystatechange=info;
xmlhttp.send(null);
}
window.location.href='/xsglxt/InitCxStu';
}
</script>
</head>
<body id="mainFrame">
<div class="body">
<div class="getgoods-head">
<img src="./../../images/ico2.gif" align="absMiddle" />
以下是学生学籍信息
</div>
<div class="getgoods-putin">
<div class="getgoods-list">
<div class="getgoods-listL">
学生名称:
</div>
<div class="getgoods-listR">
${stu.strName}
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
学号:
</div>
<div class="getgoods-listR">
${stu.stuId}
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
性别:
</div>
<div class="getgoods-listR">
${xingbie}
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
院系:
</div>
<div class="getgoods-listR">
${series}
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
级别:
</div>
<div class="getgoods-listR">
${ stu.rank}级
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
班级:
</div>
<div class="getgoods-listR">
(${stu.classes })班
</div>
</div>
<div class="getgoods-list">
<div class="getgoods-listL">
备注说明:
</div>
<div class="getgoods-listR">
${stu.remark }
</div>
</div>
</div>
<div class="foot">
<div class="footlist">
<a href="#" onClick="del()">确认删除</a>
</div>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -