50975a1f206a001b10afbf1a56d9437c

来自「《精通SOA:基于服务总线的Struts+EJB+Web Service整合应用」· 代码 · 共 38 行

TXT
38
字号
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

<html:html>
<head><title>UserList.jsp</title>
</head>
<body>

<%@ include file="/sample/Top.jsp"%>

<h2>User List</h2>  

<table border="1" >
<tr>        
  <td>User Name</td>  
  <td>Login Name</td> 
  <td>Password</td>  
  <td>Phone</td> 
  <td>Email</td>  
  <td>User Account ID</td> 
  <td>Registration Fee</td>  
</tr> 
      <logic:iterate id="item" name="userListForm" property="loginName" indexId="index">
<tr>        
  <td><bean:write name="userListForm" property='<%= "name["+index+"]" %>' /></td>  
  <td><bean:write name="userListForm" property='<%= "loginName["+index+"]" %>' /></td> 
  <td><bean:write name="userListForm" property='<%= "password["+index+"]" %>' /></td>  
  <td><bean:write name="userListForm" property='<%= "phone["+index+"]" %>' /></td>  
  <td><bean:write name="userListForm" property='<%= "email["+index+"]" %>' /></td>  
  <td><bean:write name="userListForm" property='<%= "userAccountID["+index+"]" %>' /></td>  
  <td><bean:write name="userListForm" property='<%= "registrationFee["+index+"]" %>' /></td>      
</tr>        
      </logic:iterate>
</table>
  </body>
</html:html>

⌨️ 快捷键说明

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