On Sunday 18 April 2004 16:30, as as wrote: Hi,
>Thanks for the reply. I am submitting both the forsm... Probably, but where? >so does only one submitted form end up in the request? Yes. >Here is my code briefly: > <html:form action="principalEdit" name="principalForm" > type="com.PrincipalForm" > <table border="1" width="100%"> > <tr bgcolor=#EAEAE5> > <th align="right"> > ID #: > </th> > <td align="left"> > <html-el:hidden property="ID" /> > <bean:write name="principal" property="ID" /> > </td> > </tr> > </table> > </html:form> This form seems to be more or less ok. Don't know why you chose <html-el> over <html> here, but well. > <html:form action="teachersDisplay" name="teachersForm" > type="com.TeachersForm"> <logic:iterate id="teacher" type="Teacher" > name="teachers" property="teacher"> <table> > <tr> Now check this part: > <td align="center"> > <bean:write name="<td align="center"> > <bean:write name="driver" property="last" /> > </td>" property="last" /> > </td> Looks pretty mangled to me; wonder if this compiles at all. IIRC you mentioned complaints about missing getters. This part most certainly is the culprit. > </tr> > </logic:iterate> > </table> > </html:form> > </body> > </html> You can have multiple forms in a page, but only one of them can be submitted at a time. Therefore, one usually provides an <html:submit> with each form declaration. You can achieve the same with JavaScript, which you probably do here, but if you say something document.forms[0].submit(); document.forms[1].submit(); the second line won't be executed anymore, for the browser has already started a new request. HTH, -- Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]