我想str既包含aa又不包含bb,我用<s:if test="str.indexOf('aa')>=0&&str.indexOf('bb')=-1">貌似不行,
如果要实现这个功能,我应该怎么写呢?谢谢