【JSP开源代码栏目提醒】:网学会员鉴于大家对JSP开源代码十分关注,论文会员在此为大家搜集整理了“accountHist.jsp”一文,供大家参考学习
<%--
* Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved. U.S.
* Government Rights - Commercial software. Government users are subject
* to the Sun Microsystems, Inc. standard license agreement and
* applicable provisions of the FAR and its supplements. Use is subject
* to license terms.
*
* This distribution may include materials developed by third parties.
* Sun, Sun Microsystems, the Sun logo, Java and J2EE are trademarks
* or registered trademarks of Sun Microsystems, Inc. in the U.S. and
* other countries.
*
* Copyright (c) 2003 Sun Microsystems, Inc. Tous droits reserves.
*
* Droits du gouvernement americain, utilisateurs gouvernementaux - logiciel
* commercial. Les utilisateurs gouvernementaux sont soumis au contrat de
* licence standard de Sun Microsystems, Inc., ainsi qu'aux dispositions
* en vigueur de la FAR (Federal Acquisition Regulations) et des
* supplements a celles-ci. Distribue par des licences qui en
* restreignent l'utilisation.
*
* Cette distribution peut comprendre des composants developpes par des
* tierces parties. Sun, Sun Microsystems, le logo Sun, Java et J2EE
* sont des marques de fabrique ou des marques deposees de Sun
* Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
* '
--%>
<jsp:useBean id="customerBean" class="com.sun.ebank.web.CustomerBean" scope="session"/>
<jsp:setProperty name="customerBean" property="customer" value="${pageContext.request.userPrincipal.name}"/>
<c:set var="accounts" value="${customerBean.accounts}" />
<jsp:useBean id="accountHistoryBean" class="com.sun.ebank.web.AccountHistoryBean" scope="request"/>
<center>
<table border=0 cellpadding=2 cellspacing=5 width=500 summary="layout">
<tr>
<td valign=bottom>
<fmt:message key="AccountName"/></td>
<td valign=bottom>
<fmt:message key="ViewSelect"/></td>
<td valign=bottom>
<fmt:message key="SortSelect"/></td>
<td> </td>
</tr>
<c:url var="url" value="/accountHist" />
<form name="accountHistory" method="post" action="${url}" >
<tr>
<td valign=top>
<select name=accountId>
<c:forEach items="${accounts}" var="ad">
<c:if test="${param.accountId == ad.accountId}" >
<option value="${ad.accountId}" selected>${ad.description}</option>
</c:if>
<c:if test="${param.accountId != ad.accountId}">
<option value="${ad.accountId}">${ad.description}</option>
</c:if>
</c:forEach>
</select>
</td>
<td valign=top>
<select name=activityView>
<option value=0<c:if test="${param.activityView == 0}"> selected</c:if>><fmt:message key="ViewOption0"/></option>
<option value=1<c:if test="${param.activityView == 1}"> selected</c:if>><fmt:message key="ViewOption1"/></option>
<option value=2<c:if test="${param.activityView == 2}"> selected</c:if>><fmt:message key="ViewOption2"/></option>
</select>
</td>
<td valign=top>
<select name=sortOption>
<option value=0<c:if test="${param.sortOption == 0}"> selected</c:if>><fmt:message key="SortOption0"/></option>
<option value=1<c:if test="${param.sortOption == 1}"> selected</c:if>><fmt:message key="SortOption1"/></option>
<option value=2<c:if test="${param.sortOption == 2}"> selected</c:if>><fmt:message key="SortOption2"/></option>
<option value=3<c:if test="${param.sortOption == 3}"> selected</c:if>><fmt:message key="SortOption3"/></option>
</select>
</td>
<td valign="bottom" width=50>
<input type="submit" name="Submit" value="<fmt:message key='Update'/>" >
</td>
<td> </td>
</tr>
<tr>
<td valign=top>
<table cellpadding=0 cellspacing=0 border=0 summary="layout">
<tr>
<td>
<select width=4 name="year">
<option value="2002"<c:if test="${param.year == 2002}"> selected</c:if>>2002
<option value="2003"<c:if test="${param.year == 2003}"> selected</c:if>>2003
<option value="2004"<c:if test="${param.year == 2004}"> selected</c:if>>2004
</select>
</td>
<td><input type="radio" name="date" value="0" <c:if test="${param.date == 0}"> checked</c:if>><fmt:message key="DateSince"/>
</td>
<td>
<select width=10 name="sinceMonth">
<option value="1"<c:if test="${param.sinceMonth == 1}"> selected</c:if>><fmt:message key="Month1"/>
<option value="2"<c:if test="${param.sinceMonth == 2}"> selected</c:if>><fmt:message key="Month2"/>
<option value="3"<c:if test="${param.sinceMonth == 3}"> selected</c:if>><fmt:message key="Month3"/>
<option value="4"<c:if test="${param.sinceMonth == 4}"> selected</c:if>><fmt:message key="Month4"/>
<option value="5"<c:if test="${param.sinceMonth == 5}"> selected</c:if>><fmt:message key="Month5"/>
<option value="6"<c:if test="${param.sinceMonth == 6}"> selected</c:if>><fmt:message key="Month6"/>
<option value="7"<c:if test="${param.sinceMonth == 7}"> selected</c:if>><fmt:message key="Month7"/>
<option value="8"<c:if test="${param.sinceMonth == 8}"> selected</c:if>><fmt:message key="Month8"/>
<option value="9"<c:if test="${param.sinceMonth == 9}"> selected</c:if>><fmt:message key="Month9"/>
<option value="10"<c:if test="${param.sinceMonth == 10}"> selected</c:if>><fmt:message key="Month10"/>
<option value="11"<c:if test="${param.sinceMonth == 11}"> selected</c:if>><fmt:message key="Month11"/>
<option value="12"<c:if test="${param.sinceMonth == 12}"> selected</c:if>><fmt:message key="Month12"/>
</select>
<select width=3 name="sinceDay">
<option value="1"<c:if test="${param.sinceDay == 1}"> selected</c:if>>1
<option value="2"<c:if test="${param.sinceDay == 2}"> selected</c:if>>2
<option value="3"<c:if test="${param.sinceDay == 3}"> selected</c:if>>3
<option value="4"<c:if test="${param.sinceDay == 4}"> selected</c:if>>4
<option value="5"<c:if test="${param.sinceDay == 5}"> selected</c:if>>5
<option value="6"<c:if test="${param.sinceDay == 6}"> selected</c:if>>6
<option value="7"<c:if test="${param.sinceDay == 7}"> selected</c:if>>7
<option value="8"<c:if test="${param.sinceDay == 8}"> selected</c:if>>8
<option value="9"<c:if test="${param.sinceDay == 9}"> selected</c:if>>9
<option value="10"<c:if test="${param.sinceDay == 10}"> selected</c:if>>10
<option value="11"<c:if test="${param.sinceDay == 11}"> selected</c:if>>11
<option value="12"<c:if test="${param.sinceDay == 12}"> selected</c:if>>12
<option value="13"<c:if test="${param.sinceDay == 13}"> selected</c:if>>13
<option value="14"<c:if test="${param.sinceDay == 14}"> selected</c:if>>14
<option value="15"<c:if test="${param.sinceDay == 15}"> selected</c:if>>15
<option value="16"<c:if test="${param.sinceDay == 16}"> selected</c:if>>16
<option value="17"<c:if test="${param.sinceDay == 17}"> selected</c:if>>17
<option value="18"<c:if test="${param.sinceDay == 18}"> selected</c:if>>18
<option value="19"<c:if test="${param.sinceDay == 19}"> selected</c:if>>19
<option value="20"<c:if test="${param.sinceDay == 20}"> selected</c:if>>20
<option value="21"<c:if test="${param.sinceDay == 21}"> selected</c:if>>21
<option value="22"<c:if test="${param.sinceDay == 22}"> selected</c:if>>22
<option value="23"<c:if test="${param.sinceDay == 23}"> selected</c:if>>23
<option value="24"<c:if test="${param.sinceDay == 24}"> selected</c:if>>24
<option value="25"<c:if test="${param.sinceDay == 25}"> selected</c:if>>25
<option value="26"<c:if test="${param.sinceDay == 26}"> selected</c:if>>26
<option value="27"<c:if test="${param.sinceDay == 27}"> selected</c:if>>27
<option value
上一篇:
accountdetail.jsp
下一篇:
成本管理详细介绍