According to TLD or attribute directive in tag file, attribute test does not accept any expressions
在代码的最前面加上<%@ page isELIgnored ="true" %>,就可以编译了,程序运行结果也正确。
JSTL的问题(According to TLD or attribute directive in tag file, attribute value does not accept any expressions)