?? cons.jsp
字號:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ 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://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech畢業設計項目</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath()%>/html/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath()%>/html/script/common.js"></script>
<script type="text/javascript">
function doSearch(){
document.forms['searchForm'].action="<%=request.getContextPath()%>/report.do?method=toCons";
document.forms['searchForm'].submit();
}
</script>
</head>
<body>
<div class="page_title">客戶構成分析</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">幫助</button>
<button class="common_button" onclick="doSearch();">查詢</button>
</div>
<html:form action="/report?method=toCons" method="post" styleId="searchForm">
<table class="query_form_table">
<tr>
<th>報表方式</th>
<td>
<html:select property="type">
<html:option value="Grade">按等級</html:option>
<html:option value="Credits">按信用度</html:option>
<html:option value="Satisfaction">按滿意度</html:option>
</html:select>
</td>
<th> </th>
<td>
</td>
</tr>
</table></html:form>
<br />
<table class="data_list_table">
<tr>
<th>編號</th>
<th>等級</th>
<th>客戶數量</th>
</tr>
<c:if test="${map==null}">
<div style="color: red;font-size: 12px;">沒有記錄</div>
</c:if>
<c:forEach items="${map}" var="map" varStatus="i">
<tr>
<td class="list_data_number">${i.index+1 }</td>
<td class="list_data_text">${map.key }</td>
<td class="list_data_number">${map.value }</td>
</tr>
</c:forEach>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -