Trouble passing JSP values to ActionForm (Struts)
- by tacotime
Hi,
I am a newbie to Struts and have inherited a problem. I am trying to pass 3 values contained in the same table cell from a JSP to my ActionForm class. The first value (and others in the JSP) work fine, but for some reason the other two do not. I have the appropriate getters and setters, but only the first (newrecnum) shows up, the other two are null. Is there a limitation to only pass the first value? Or is there something else wrong? Here is the JSP code:
<td>
<html:text size="10" maxlength="10" property="newrecnum"/><br>
<html:text size="5" maxlength="5" property="newrectime"/>
<html:select property="newreccode" disabled="true">
<html:option value="YES">YES</html:option>
<html:option value="NO">NO</html:option></html:select>
</td>
I can include the ActionForm code as well if needed. Thanks!