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

📄 stagroup.jsp

📁 通过jsp/servlet实现web打印
💻 JSP
字号:

<%@ page contentType="text/html;charset=GBK" isELIgnored="false"%>
<%@ 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"/>
  <body>
     <jsp:scriptlet>  
  	get.getuserGroup();  
  </jsp:scriptlet>
  <form action="GroupSta" method="post">
  组别:<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>
    <input type="submit" value="提交 ">	
  </form>
  </body>
</html>

⌨️ 快捷键说明

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