1. 程式人生 > >解決org.apache.jasper.JasperException: The following has evaluated to null or missing異常

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

做struts2的標籤開啟註冊介面時出現的bug,經過百度發現是標籤內容寫錯了,大家要仔細檢查,不要像我一樣犯低階錯誤

正確格式:

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