⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feequerydata.jsp

📁 java电信经典-学习例子源代码
💻 JSP
字号:
<%@ page  pageEncoding="gb2312" isELIgnored="false"%>
<%@ taglib   uri="http://struts.apache.org/tags-html"  prefix="ui" %>
<!-- 标准标记库 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>
	<tr>
		<td width='40' background='${pageContext.request.contextPath}/images/index_26.jpg'>&nbsp;</td>
		<!--内容区导航开始-->
		<td align='left' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
		<table border='0' cellspacing='0' cellpadding='0'>
			<tr>
				
				<td height='31' background='${ pageContext.request.contextPath}/images/ctitle_bak_fcenter.jpg'>
				<a href='${ pageContext.request.contextPath}/index.do'  class=channel_title>首页</a>
				<ui:img page='/images/sy_2_18.jpg' border='0'/> 
				<a href='${ pageContext.request.contextPath}${module.url}?method=index&moduleid=${module.id}'  class=channel_title>用户自服务首页</a>
				<ui:img page='/images/sy_2_18.jpg' border='0'/>
				<a href='${ pageContext.request.contextPath}${module.url}?method=browseFeeByMonth'  class=channel_title>用户帐单查询</a>
				</td>
			</tr>
		</table>
		</td>
		<!--内容区导航结束-->
		<td align='left' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>&nbsp;</td>
		<td width='13' align='right' valign='middle' background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
		<ui:img page='/images/ctitle_bak_right.jpg' width='10' height='31'/>
		</td>
	</tr>
</table>
<table width='100%' border='1' cellspacing='0' cellpadding='0'>
	<tr width="100%" height="10%">
		<!-- 显示查询UI -->
		<td align="left" height='31' background='${pageContext.request.contextPath}/images/ctitle_bak_fcenter.jpg'>		 
		<ui:form method="post" action="/selfservices/index.do?method=browseFeeByMonth&page=0">
		<!-- 查询的年份一本年前三年内的可以查询 -->
		查询条件:用户帐务帐号:<ui:text property="loginName" style="width:80px"/>&nbsp;要查询的年月份:
		
		<ui:select property="year">
    			<c:forEach var="y"  items="${requestScope.years}">
    				<c:if test="${requestScope.year eq y}">
    					<option value="${y}"   selected>${y}年</option>
    				</c:if>
    				<c:if test="${requestScope.year  ne y}">
    					<option value="${y}">${y}年</option>
    				</c:if>
    			</c:forEach>
    		</ui:select>
		&nbsp;
    	<ui:select property="month">
    		<c:forEach begin="1" end="12" step="1" var="m">
    			<c:if test="${requestScope.month eq m}">
    				<option value="${m}" selected>${m}月</option>
    			</c:if>
    			<c:if test="${requestScope.month ne m}">
    				<option value="${m}">${m}月</option>
    			</c:if>
    		</c:forEach>
    	</ui:select>
    	<ui:submit value=" 查询"></ui:submit>
		</ui:form>
		</td>
	</tr>
	<tr width="100%" height="300px">
		<td width="100%" valign="top">
			<!-- 显示浏览列表 -->
			<div style="overflow:auto;">
			<table cellspacing='0' cellpadding='0' width="100%"  border="1">
			<html:errors/>
				<tr class="tabhead">
					<th>年</th><th>月</th><th>业务登录名</th><th>服务器IP</th><th>费用</th><th>明细</th>
				</tr>
				<c:forEach var="detailYear" items="${detailYear}">
    			<tr>
    				<td>${year}&nbsp;&nbsp;</td>
    				<td>${month}&nbsp;&nbsp;</td>
    				<td>${detailYear.loginName}</td>
    				<td>${detailYear.labip}</td>
    				<td>${detailYear.duration}</td>
    				<td><input type="button" value="明细" onclick="window.location='${pageContext.request.contextPath}/selfservices/index.do?method=browseFeeDetailByMonth&year=${year}&month=${month}&loginName=${detailYear.loginName}&labip=${detailYear.labip}'"/>
    			</tr>
    		</c:forEach>
    		</table>
			</div>
		</td>
	</tr>
	<tr width="100%"  height="20px">
		<!-- 显示分页导航 -->
		<td>${pagenav }</td>
	</tr>
</table>
    		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -