⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 deletepoll.jsp

📁 一个关于商业的网站
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="java.util.*"%>

<jsp:useBean id="dbConn" scope="request" class="com.everstar.database.Database"/>

<jsp:useBean id="deleteCust" scope="page" class="com.everstar.poll.DeletePoll"/>
      	<jsp:setProperty name="deleteCust" property="*"/>
      	<jsp:setProperty name="deleteCust" property="dbConn" value="<%=dbConn%>"/>
</jsp:useBean>

<% 	String[] in_delectid = request.getParameterValues("chk");
	if(in_delectid!=null) {
		for (int i = 0; i < in_delectid.length; ++i){
		  int customerId = Integer.parseInt(in_delectid[i]);
		  deleteCust.setPollId(customerId);
		  deleteCust.init();
  		}
  	}
   request.getRequestDispatcher(response.encodeURL("browsepoll.jsp")).forward(request, response);
%>
<html>
<head>
<title>AddPositionInformation</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<style type="text/css">
<!--
A { text-decoration: none; }
A:hover	{ color:#FF3300; }
.normal { text-decoration: underline; color:#0033cc; }
.subject { font-family: verdana; }
.subjectOn { font-family: verdana; font-weight: bold; }
.username { font-family: verdana; color: #000000; }
.usernameOn { font-family: verdana; color: #000000; font-weight: bold; }
.datetime { font-family: verdana; color: #333333; }
.datetimeOn { font-family: verdana; color: #333333; font-weight: bold; }
.dateTimeList { font-family: verdana; color: #666666; text-align: center; }
.dateTimeListToday { font-family: verdana; color: #ff6600; text-align: center; }
.breadcrumbBox { font-family: verdana; font-size: 9pt; color: #0033cc; font-weight: bold;}
.messageNav { font-size: 7pt; font-family: verdana;}
.messageNavButton { font-size: 8pt;font-family: verdana;}
-->
</style>
</HEAD>

<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
  <TABLE border="0" width="100%">
<Form Action="browsecareer.jsp" Method=Post Name="form1" >
  <%if(deleteCust.getError()==null){%>         
    <TR bgcolor="#CCCCFF"> 
       <TD COLSPAN=2><FONT SIZE=2><div align="center"> Succeed Deleted,Please Return!</div></FONT></TD>
    </TR>
  <%}else{%>
    <TR bgcolor="#CCCCFF"> 
    	<TD Height=10 width="107"><%=deleteCust.getError()%></TD></TR>
  <%}%>
    <TR bgcolor="#CCCCFF"> 
       <TD COLSPAN=2 ALIGN=CENTER> 
       	<input type=submit name=action value="Return"></TD>
    </TR>
</form>
  </TABLE>     
</body>         
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -