📄 chapterdelete.jsp
字号:
<%@ page buffer="none" contentType="text/html;charset=GB2312" import="net.xerllent.campus.database.*,net.xerllent.campus.util.*,net.xerllent.campus.exam.*,net.xerllent.campus.sysadmin.*" %>
<%
//静态权限认证
security.checkAuth(session,"",response,request);
%>
<%
int UserID = ((Integer)session.getAttribute("UserID")).intValue();
int VolumeID = ParamUtils.getIntParameter(request,"VolumeID",0);
String[] ChapterIDs=request.getParameterValues("chk");
Chapter myChapter = new Chapter();
int ChapterID;
for(int i=0;i<ChapterIDs.length;i++){
ChapterID=Integer.parseInt(ChapterIDs[i]);
myChapter.Delete(ChapterID);
}
response.sendRedirect("ChapterList.jsp?VolumeID="+VolumeID);
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -