1 <s:form action="" method="post" theme="simple"> 2 用户名:<s:textfield name="users.uname"></s:textfield><br> 3 密码:<s:password name="users.upwd"></s:password><br> 4 性别:<s:radio list="#{0:'男',1:'女' }" value="1"></s:radio><br> 5 爱好:<s:checkboxlist list="#{0:'看电影',1:'玩游戏'}" value="{0}" name="users.hb"></s:checkboxlist><br/> 6 省份:<s:select list="#{1:'北京',2:'上海'}" name="users.province" value="2"></s:select><br/> 7 头像:<s:file name="users.head"></s:file><br/> 8 备注:<s:textarea name="users.info"></s:textarea><br/> 9 <s:submit value="提交"></s:submit> 10 <s:reset value="重置"></s:reset> 11 </s:form>