Not sure if this has been solved or not but the reason you are seeing this error message is that the attribute test in the <c:if> tag does not accept EL expression which might sound somewhat strange....