<s:select name="viewType" list="#{'0':'全部主题','1':'全部精华贴' }"> </s:select> 重点关注list属性里,用map形式来代替option元素时,标点符号的格式,因为我之前出错了