report2.jsp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <%@ page language="java" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%
  4. String path = request.getContextPath();
  5. %>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="pragma" content="no-cache" />
  10. <meta http-equiv="cache-control" content="no-cache" />
  11. <meta http-equiv="expires" content="0" />
  12. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
  13. <meta http-equiv="description" content="This is my page" />
  14. <link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
  15. <script type="text/javascript" src="<%=path %>/js/popup.js"></script>
  16. </head>
  17. <body leftmargin="2" topmargin="2" background='<%=path %>/images/allbg.gif'>
  18. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#f2f2f2" align="center" style="margin-top:8px">
  19. <tr bgcolor="#E7E7E7">
  20. <td height="14" colspan="2" background="<%=path %>/images/tbg.gif">&nbsp;财务统计&nbsp;</td>
  21. </tr>
  22. <tr align="center" bgcolor="#FAFAF1" height="22">
  23. <td>日期</td>
  24. <td width="12%">金额</td>
  25. </tr>
  26. <c:forEach items="${clist}" var="goods">
  27. <tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
  28. <td bgcolor="#FFFFFF" align="center">
  29. ${goods.orderdate}
  30. </td>
  31. <td bgcolor="#FFFFFF" align="center">
  32. ${goods.goodsShichangjia}
  33. </td>
  34. </tr>
  35. </c:forEach>
  36. </table>
  37. </body>
  38. </html>