解决org.apache.jasper.JasperException: The following has evaluated to null or missing异常

做struts2的标签打开注册界面时出现的bug,经过百度发现是标签内容写错了,大家要仔细检查,不要像我一样犯低级错误

正确格式:

     <s:radio name="loginUser.sex" list="#{1:'男',0:'女'}" label="请输入性别"/>