?? userinformation.jsp
字號:
<%@ page contentType="text/html;charset=GBK" isELIgnored="false"%>
<%@page import="java.util.*"%>
<%@ 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 'userinformation.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>
<%
Vector information=(Vector)session.getAttribute("information");
%>
<form method="post" name="autoform" action="AutoBuild">
<table width="65%" align="center" border="1" style="font-family:'宋體'; font-size:9pt;">
<th></th>
<th>姓名</th>
<th>性別</th>
<th>生日</th>
<th>組別</th>
<th>專業(yè)</th>
<th>學院</th>
<c:forEach items="${information}" var="myAll">
<tr>
<td>
<div align="center"><input type="checkbox" name="username" value="<c:out value="${myAll[0]}"/>"></div>
</td>
<td>
<div align="center"><c:out value="${myAll[0]}"></c:out></div>
</td>
<td>
<div align="center"><c:out value="${myAll[2]}"></c:out></div>
</td>
<td>
<div align="center"><c:out value="${myAll[1]}"></c:out></div>
</td>
<td>
<div align="center"><c:out value="${myAll[3]}"></c:out></div>
</td>
<td>
<div align="center"><c:out value="${myAll[4]}"></c:out></div>
</td>
<td>
<div align="center"><c:out value="${myAll[5]}"></c:out></div>
</td>
</tr>
</c:forEach>
<tr><td colspan=6><input type="submit"/>
</td></tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -