stagroup.jsp

来自「通过jsp/servlet实现web打印」· JSP 代码 · 共 38 行

JSP
38
字号

<%@ 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 + =
减小字号Ctrl + -
显示快捷键?