数据库里用户性别保存的是数字1和2,jsp里面用户首页面显示性别:
显示的是1或2,怎么样让user.sex为1时显示男,user.sex为2时显示女?
[code="xml"]男/s:if女/s:else[/code]
用equal标签.男/logic:equal女/logic:equal