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

📄 tongji.jsp

📁 通过jsp/servlet实现web打印
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK" isELIgnored="false"%>
<%@page import="bean.GetMoneyHistoryBean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'getmoneyhistory.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <jsp:useBean id="get" scope="session" class="bean.GetMoneyHistoryBean"></jsp:useBean>
  <body>&nbsp; 
  <jsp:scriptlet> 
  	get.getuserGroup(); 
  </jsp:scriptlet>
    <h2 align="center"><strong>请您选择并输入统计条件</strong></h2><br>
    <form action="GetStatistics" method="post">
    <table width="80%" border="1" align="center">
    <tr>
    <td>
    	性别:<select name="sex">
    			<option value="请选择">
    					请选择
    			</option>
    			<option value="1">
    			</option>
    			<option value="0">
    			</option>
    		</select>
    </td>
    
    <td>
    	组别:<select name="groupname">
    				<option value="7">
    					请选择
    				</option>
    			<c:forEach items="${get.getmoneyhistroy}" var="get">
    				<option value=<c:out value="${get[0]}" />>
    					<c:out value="${get[1]}"></c:out>
    				</option>
    			</c:forEach>
    		</select>	
    </td>
    <td>
    	用户名查询:
    	<input type="text" name="username">
    </td>
    </tr>
    <tr>
    	<td colspan="3">
    		<center><input type="submit" value="查询 "></center>
    	</td>
    </tr>
    </table>
   
    </form>   
  </body>
</html>

⌨️ 快捷键说明

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