📄 polldetailset.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" pageEncoding="gb2312" isELIgnored="false"%>
<%@ page import="tarena.pojo.PollLine"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>杰普课程调查系统</title>
<meta name="generator" content="TonyDeng">
<meta name="keywords" content="杰普课程调查系统">
<meta name="description" content="明天会更好!">
<link href="../inc_css/tarena.css" rel="stylesheet" type="text/css">
<LINK href="../inc_css/support.css" type=text/css rel=stylesheet>
</head>
<body leftmargin="5" topmargin="0" marginwidth="00">
<table border="0" width="100%" cellpadding="0" cellspacing="0"
valign="top" align="left">
<logic:iterate id="pollLine" name="poll" property="pollLineSet" indexId="key"
scope="session">
<%
boolean flag=((tarena.pojo.PollLine)pollLine).getIsValid().equals("y");
double avgScore=((tarena.pojo.PollLine)pollLine).getAvgScore();
%>
<tr>
<td><%=key+1%></td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="<%=120*avgScore%>">
<tr>
<%if (flag) {%>
<a href="pollDetailSet.do?index=<%=key%>" style="cursor:hand">
<td bgcolor="#3399FF" height="8" title="有效调查表" id="td<bean:write name="key"/>">
<%} else {%>
<a href="pollDetailSet.do?index=<%=key%>" style="cursor:hand">
<td bgcolor="red" height="8" title="无效调查表" id="td<bean:write name="key"/>">
<%}%>
<img src="" height="8" /></td>
</a>
</tr>
</table>
</td>
<td>平均分:<%=avgScore%></td>
</tr>
</table>
</td>
</tr>
</logic:iterate>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -