关于struts的logic 和bean:write标签就说一句
程序员文章站
2022-03-13 14:35:23
...
<logic:present name="list5" scope="request">
<logic:iterate id="list5" name="list5">
<td colspan="2" bgcolor="#FFCC00"><html:text name="list5" property="x_kl" /> </td>
</logic:iterate>
</logic:present>
<logic:present name="list5" scope="request">
<td colspan="2" bgcolor="#FFCC00"><input name="x_kl" value='<bean:write name="list5" property="x_kl"/>'></td>
</logic:present>
<logic:iterate id="list5" name="list5">
<td colspan="2" bgcolor="#FFCC00"><html:text name="list5" property="x_kl" /> </td>
</logic:iterate>
</logic:present>
<logic:present name="list5" scope="request">
<td colspan="2" bgcolor="#FFCC00"><input name="x_kl" value='<bean:write name="list5" property="x_kl"/>'></td>
</logic:present>
上一篇: 赖宝日记 笑话