📄 voteselectnumber.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="com.victor.domain.VoteActionForm"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<html>
<head>
<title>查看新闻人物</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {
color: #FF9900;
font-style: italic;
font-weight: bold;
}
-->
</style></head>
<%List list=(List)request.getAttribute("voteList");%>
<body>
<table width="570" height="740" border="0" align="left" cellpadding="2" cellspacing="1" bgcolor="#999999">
<tr>
<td width="571" height="100" align="center" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35"> </td>
</tr>
<tr>
<td background="jsp/images/line.jpg"> ·<span class="style1">查看投票人数</span></td>
</tr>
</table>
<br>
<br>
<table width="290" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr align="center" bgcolor="#0099cc">
<td width="130" height="20">人物姓名</td>
<td width="129">票数</td>
</tr>
<%for (int i=0;i<list.size();i++){
VoteActionForm vote=(VoteActionForm)list.get(i);
%>
<tr bgcolor="#FFFFFF">
<td height="24"><%=vote.getName()%></td>
<td><%=vote.getNumber()%></td>
</tr>
<%}%>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -