Why? I thought you said it was an enum?
This actually came up at work this week: using ${theEnum} == 'theEnumsString' works (I think; I never saw their original
JSP). To compare to a specific enum via OGNL only required static element syntax: theEnum == @fully.qualified.enum$NAME. Try that out, or just use the JSP EL syntax.