?? ser.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=UTF-8">
<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['yearForm'].action="<%=request.getContextPath()%>/report.do?method=toSer";
document.forms['yearForm'].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=toSer" method="post" styleId="yearForm">
<table class="query_form_table">
<tr>
<th>年份</th>
<td>
<html:select property="year">
<html:option value="">全部</html:option>
<html:option value="2005">2005</html:option>
<html:option value="2006">2006</html:option>
<html:option value="2007">2007</html:option>
<html:option value="2008">2008</html:option>
<html:option value="2009">2009</html:option>
<html:option value="2010">2010</html:option>
</html:select>
</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_ltext">${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 + -