日期:2014-05-17 浏览次数:20833 次
<body>
  	<% Vector accounts= new Vector();
  		accounts.addElement("bj001");
  		accounts.addElement("011011");
  		request.setAttribute("accounts",accounts);
  	 %>
    <html:form action="selectAccount.do"  >
      <table border="0">
        <tr>
          <td>Account:</td>
          <td>
          	<html:select property="account">
          		<logic:iterate id="account" name="accounts">
          			<html:option value="">
          				<bean:write name="account"/>
          			</html:option>
          		</logic:iterate>
          		
          		
          	</html:select>
          </td>
        </tr>
        
        <tr>
          <td colspan="2" align="center"><html:submit /></td>
        </tr>
      </table>
    </html:form>