我的update.jsp页面从action中得到值..
显示在页面的表单中..
action中一部分: public String selectbyid() throws Exception{
ActionContext.getContext().put("user", service.selectbyid(user.getId()));
return "update";
}jsp页面获得传来的值
文本框获得值是这样 <s:textfield name="user.username" label="用户名" value="%{#user.username}" />  
value="%{#user.username}" 便能取得传过来的用户名但是下拉框是怎么获得的啊??
下面是我写的方法..可是不对
<s:select name="user.type" label="用户权限"  value="#{'1':'管理员','2':'普通用户'}"/>
应该怎么写啊??