【JSP开源代码栏目提醒】:网学会员在JSP开源代码频道为大家收集整理了khtsSelectPicture.jsp提供大家参考,希望对大家有所帮助!
<%@ page contentType="text/html; charset=gb2312" errorPage=""%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<%@ page import="com.domain.CountForm"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>按满意程度显示</title>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
-->
</style>
</head>
<body>
<table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
</table>
<table width="579" border="0" cellpadding="0" cellspacing="0"> <tr>
<td align="left" valign="top" bgcolor="#FFFFFF">
<table width="579" height="487" border="0" cellpadding="0" cellspacing="0"> <tr>
<td align="left" valign="top" bgcolor="#FFFFFF">
<table width="579" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2%" height="28"> </td>
<td width="9%" background="images/circle.jpg"> </td>
<td width="89%" bgcolor="#FFFFFF"><span style="font-size:11pt">按投诉满意程度显示</span></td>
</tr>
<tr style="line-height:2px">
<td width="2%" height="5"> </td>
<td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
</tr>
<tr align="center" valign="top" bgcolor="#FFFFFF">
<td height="454" colspan="3">
<div align="center">
<table width=100% align="center" cellpadding=0 cellspacing=0 >
<tr>
<td width=90 height=100% valign=top>
<tr>
<%List list=(List)request.getAttribute("listMyd");
float count=Integer.parseInt((String)request.getAttribute("count"));
for(int i=0;i<list.size();i++){
CountForm form=(CountForm)list.get(i);
float number=form.getNumber().intValue();
float percent=number/count*100;
%>
<td width="150px" valign="bottom">
<table align="center" cellpadding=0 cellspacing=0 >
<tr>
<td width="15%"></td>
<td height="<%=percent%>" bgcolor="#CCCFFF" width="20%"></td>
<td width="15%"></td>
</tr>
<tr height="50px">
<td colspan="3" align="center">
<%if(form.getMyd().equals("否")){%>
没有受理<br > 占<%=percent%>% <%}else{%>
<%=form.getMyd()%><br >
占<%=percent%>% <%}%></td>
</tr>
</td>
</tr>
</table>
</td>
<%}%>
</tr>
</td>
</tr>
</table>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
上一篇:
khtsSelectContent.jsp
下一篇:
多年来只想说一句,我不怪你