Class literals in Expression Language

I’ve found the literal expressions available in JSP EL listed here:

While most literals available in Java are available in EL, notably absent are character and class literals (cf.


Integer.MAX_VALUE: ${Integer.MAX_VALUE}

displays fine, but when I try

Integer.class: ${Integer.class}

I get

javax.el.PropertyNotFoundException: Either 'class' is not a public static field of the class 'java.lang.Integer' or field is inaccessible
    at javax.el.StaticFieldELResolver.getValue(
    at javax.el.CompositeELResolver.getValue(
    at com.sun.el.parser.AstValue.getValue(
    at com.sun.el.parser.AstValue.getValue(

I’d really like to be able to pass a value like this into a custom tag. Is there any way to get this value in a JSP other than writing it in a Java Expression?