<html:form action="/user.do?method=save" method="post" focus="id">
<html:hidden property="user.userid" />
<table width="99.5%" border="0" cellspacing="0" cellpadding="0" class="leftmnutables">
<tr>
<td colspan="2" class="leftlinksheading" align="center">编辑用户<br/></td>
</tr>
<tr>
<td width="20%" align="center">User_Name :</td>
<td width="60" align="center"><html:text property="user.username"/><html:errors property="user.username"/></td>
</tr>
<tr>
<td align="center">Room_ID :</td>
<td width="60" align="center"><html:text property="user.room.roomid"/><html:errors property="user.roomid"/></td>
</tr>
<tr>
<td></td>
<td><html:submit value="Submit"/></td>
</tr>
</table>
</html:form>
<html:hidden property="user.userid" />
<table width="99.5%" border="0" cellspacing="0" cellpadding="0" class="leftmnutables">
<tr>
<td colspan="2" class="leftlinksheading" align="center">编辑用户<br/></td>
</tr>
<tr>
<td width="20%" align="center">User_Name :</td>
<td width="60" align="center"><html:text property="user.username"/><html:errors property="user.username"/></td>
</tr>
<tr>
<td align="center">Room_ID :</td>
<td width="60" align="center"><html:text property="user.room.roomid"/><html:errors property="user.roomid"/></td>
</tr>
<tr>
<td></td>
<td><html:submit value="Submit"/></td>
</tr>
</table>
</html:form>
解决方案 »
- 关于select表单和checkbox表单动态选中问题
- while(rs.next())//为什么这条while只循环了一次?大神求解啊
- POI 哪个朋友用过,有没有见到过这个错误,maximum number of fonts was exceeded
- 一个关于xloadtree2 在客户端获取参数值的问题???
- 急求思路,或者解题方向
- 怎样才能把存在Collection中的ArrayList取出来呢?
- struts标签库问题
- 谁给介绍本STRUTS的书
- 高手请进:—— 窗口的相互调用和传值问题(100分)
- 用JDBC连接Oracle数据库时,如何向数据库中写日期型数据(格式)?谢了!
- javamail发邮件奇怪之处(两个163.邮箱,只一个发的出去,其他的都发不出去(报认证错误))
- EJB3.0 QL能调到存储过程么?
最后再问一下,用spring的这种方法不用生成formbean的java文件,那我要怎么在那做表单校验啊?