EL表达式判断字符串相等的问题
<c:choose>     
     <c:when   test   =    "${pageScope.staffsBean.staffsState   ==   在职} ">     
          .....//执行代码    
     </c:when>     
     <c:otherwise>     
          .....//执行代码    
     </c:otherwise>     
  </c:choose>       
 在这段代码中pageScope.staffsBean.stateState(String类型)的值明明是在职可老是执行otherwise,是我的EL表达式判断有问题吗?在职两个字用 " "引起来吗~? 
------解决方案--------------------没搞过,帮你up
------解决方案--------------------应该是要用quote包起来吧,来表示字符串
------解决方案--------------------就是楼主那么写的
------解决方案--------------------你上面写的没有错误,你看看把==两边的空格去掉 
 再重新试试
------解决方案-------------------- "${pageScope.staffsBean.staffsState ==  '在职 '} ">
------解决方案-------------------- <c:when test =  "${pageScope.staffsBean.staffsState ==  '在职 '} ">     
 要加 ' '