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

📄 getmoneyhistory.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>
  	<meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <base href="<%=basePath%>">

    <title>自动打印</title>
    
  </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="GetMoneyHistory" method="post">
    <table width="80%" border="1" align="center">
    <tr>
    <td>
    	性别:<select name="sex">
    			<option value="请选择">
    					请选择
    			</option>
    			<option value="男">
    			</option>
    			<option value="女">
    			</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 + -