📄 delcj.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/DelCj?asdf="+i;
xmlhttp=getxmlhttp();
if(xmlhttp){
xmlhttp.open("get",url,false);
xmlhttp.onreadystatechange=info;
xmlhttp.send(null);
}
window.location.href='/xsglxt/InitCjCx';
}
</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">
<c:forEach items="${stucj}" var="row">
<div class="getgoods-listL">
<c:out value="${row}"/>
</div>
</c:forEach>
</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 + -