📄 report.jsp
字号:
<%@ include file="/jsp/include/ceil.jsp"%>
<%@ page import="java.util.List,module.income.dto.ReportDto,tools.PageControl" %>
<TD vAlign=top width=567 height="268" rowspan="7">
<form method="POST" action="/ReportServlet" >
<!--webbot bot="SaveResults" u-file="E:\ij项目1\UI\_private\form_results.txt" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<p align="center"><b><font color="#993333">Department
Name:</font></b><select size="1" name="D1">
<option>fish</option>
<option>meat</option>
</select></p>
<p align="center"><b><font color="#993333">Date:from</font></b> <input type="text" maxlength = "10" name="fdate" size="20">
<b><font color="#993333">to </font></b><input type="text" maxlength = "10" name="ldate" size="20"></p>
<p align="center"><input type="submit" value="Submit" name="submit" style="color: #800000; font-weight: bold; background-color: #FDCC64">
<input type="reset" value="Reset" name="reset" style="color: #800000; font-weight: bold; background-color: #FDCC64"></p>
</form>
<p> </p>
<div align="center">
<center>
<%
List list = (List)request.getAttribute("list");
if(list != null){
%>
<table border="1" width="80%" bordercolor="#800000">
<tr>
<td width="33%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Department
Name</font></b></td>
<td width="33%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Date</font></b></td>
<td width="33%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Income
Amount</font></b></td>
<td width="34%" align="center" bgcolor="#FDCC64"><b><font color="#993333">Expense
Amount</font></b></td>
</tr>
<%
for(int i = 0;i < list.size(); i++){
ReportDto dto = (ReportDto)list.get(i);
%>
<tr>
<td width="33%" align="center"><font color="#993333"><%=dto.getName()%></font></td>
<td width="33%" align="center"><%=dto.getDate()%></td>
<td width="33%" align="center"><font color="#993333"><%=dto.getIncome()%>$</font></td>
<td width="34%" align="center"><%=dto.getExpense()%>$</td>
</tr>
<%
}
%>
</table>
<%
}
%>
<%@ include file="/jsp/include/displayError.jsp"%>
</center>
</div>
</TD>
</TR>
<%@ include file="/jsp/include/side.jsp"%>
<TR>
<TD vAlign=bottom width=746 height="34" colspan="2">
<p>
</TD>
</TR>
<%@ include file="/jsp/include/floor.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -