我再Action里面用 ActionContext.getSession().put("loginUserType", user.getType()); 字段type 是 user 对象的一个String 属性 而后我在jsp页面中用 <s:set name="userType" value="#session['loginUserType']" /> 得到type的值,再根据type的值来输出相应的下拉菜单 <s:if test="#userType=='2'"> <s:select name="result" label="审核意见" list= ...
renavatior
搜索本博客
最近加入圈子
存档
最新评论