org.apache.struts.action.DynaActionForm运用问题!

04-04-14 javaclass
<form-bean name="LoginForm" type="org.apache.struts.action.DynaActionForm" dynamic="true" >
  <form-property name="username" type="java.lang.String" />
  <form-property name="password" type="java.lang.String" />
</form-bean>
<p>

请问如何实现得到form-property name 值的集合。

public ArrayList getFormProperty(DynaActionForm form)

{

............

}

list中是{username,password}

猜你喜欢