📄 questiondelete.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);
int ChapterID = ParamUtils.getIntParameter(request,"ChapterID",0);
int TypeID = ParamUtils.getIntParameter(request,"TypeID",0);
String[] QIDs=request.getParameterValues("chk");
Question myQuestion = new Question();
int QID;
for(int i=0;i<QIDs.length;i++){
QID=Integer.parseInt(QIDs[i]);
myQuestion.Delete(QID);
}
response.sendRedirect("QuestionList.jsp?VolumeID="+VolumeID+"&ChapterID="+ChapterID+"&TypeID="+TypeID);
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -