<c:when test="${customer.category == 'trial'}" > ... </c:when> 像上面的判断字符串的句子中,字符串需要用单引号,今天因为这个问题浪费了不少时间,记之!