I'm using tomcat 8.0.9 (servlet 3.1, jsp 2.3, el 3.0) and trying to access a static property from a jsp page like so:
${Boolean.TRUE}
There is no error, but no output appears in the rendered result. What am I doing wrong?
EDIT
The answer to this question (marked as duplicate question) claims that since EL 3.0 (JSR-341, part of Java EE 7), it is possible to reference constants for all java.lang.* classes as they are implicitly imported and available like so
${Boolean.TRUE}
This answer is NOT working for me, at least not with tomcat 8.
EDIT 2
From Oracle's JEE7 Tutorial (9.3.1.2 Referencing Object Properties or Collection Elements)
You can reference a static field or method using the syntax classname.field, as in the following example:
Boolean.FALSE
The classname is the name of the class without the package name. By default, all the java.lang packages are imported. You can import other packages, classes, and static fields as needed.