📄 delete.jsp
字号:
<%@ include file="import.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
</head>
<body>
<%
IBookInfo book = new BookInfoImple();
String[] values = request.getParameterValues("checkbox");
String temp = null;
for(int i=0;i<values.length;i++){
temp = values[i];
StringBuffer sb = new StringBuffer(temp.length());
for(int k=0;k<temp.length()-1;k++){
char ch = temp.charAt(k);
if(ch=='/'){
temp = temp.replace('/',' ');
String[] s = temp.split(" ");
for(int j=0;j<s.length;j++){
temp = sb.append(s[j]).toString();
}
}
}
Integer in = new Integer(temp);
int id = in.intValue();
book.delById(id);
}
response.sendRedirect("show.jsp");
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -