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

📄 usersinfo.jsp

📁 java带进度条上传尽量不要让站长把时间都花费在为您修正说明上
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="com.jmwl.vo.UsersInfoVO"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<%
	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 'page.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>

	<body>
		<center>
			<logic:present name="list">
				<table border="1" align="center">
					<%
						List<UsersInfoVO> list = (List<UsersInfoVO>)request.getAttribute("list");
							for(UsersInfoVO vo:list){
					%>
					<tr>
						<th>	邮箱</th>
						<th><%=vo.getEmail()%></th>
					</tr>
					<tr>
						<th>	性别</th>
						<th><%=vo.getSex()%></th>
					</tr>
					<tr>
						<th>	出生日期</th>
						<th><%=vo.getBirthday()%></th>
					</tr>
					<tr>
						<th>	年龄</th>
						<th><%=vo.getAge()%></th>
					</tr>
					<tr>
						<th>	联系电话</th>
						<th><%=vo.getTel()%></th>
					</tr>
					<tr>
						<th>联系地址</th>
						<th><%=vo.getAddress()%></th>
					</tr>
					<tr>	
						<th>真实姓名</th>
						<th><%=vo.getSelf_name()%></th>
					</tr>
					<tr>	
						<th>个性签名</th>
						<th><%=vo.getIdiograph()%></th>
					</tr>
					<tr>
						<th>所在地区</th>
						<th><%=vo.getArea()%></th>
					</tr>
					<tr>	
						<th>所在城市</th>
						<th><%=vo.getCity()%></th>
					</tr>
					<tr>	
						<th>自我介绍</th>
						<th><%=vo.getIntroduce()%></th>
					</tr>
					<%
						}
					%>
				</table>
			</logic:present>
			<logic:notPresent name="list">
				<jsp:forward page="/users.do?method=seeUsersInfo"></jsp:forward>
			</logic:notPresent>
		</center>
	</body>
</html>

⌨️ 快捷键说明

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