userList.jsp

来源:互联网 发布:手机怎么清除网络劫持 编辑:程序博客网 时间:2024/05/17 22:06

<%@page contentType="text/html;charset=utf-8" isELIgnored="false"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<table width="100%" border="1" align="center">
  <tr>
    <td>用户名</td>
    <td>密码 </td>
    <td>生日</td>
    <td>性别</td>
  </tr>
  <logic:present scope="request" name="pageRows">
     <logic:iterate id="user" scope="request" name="pageRows">
     <tr>
    <td><bean:write name="user" property="userName"/></td>
    <td><bean:write name="user" property="pwd"/></td>
    <td><bean:write name="user" property="birthday"/></td>
    <td><bean:write name="user" property="sex"/></td>
  </tr>
     </logic:iterate>
  </logic:present>
<tr align="center">
  <form name="form1" action="getPage.do">
     <td colspan="4">${requestScope.pageHtml}&nbsp;${requestScope.selectHtml}</td>
  </form>
</tr>
</table>
</body>
</html>

原创粉丝点击