What causes a lexical analysis error for eclipse in jsp EL validation?
- by wds
I've got some EL code inside of a JSP tag. The line starts as follows:
<c:if test="${pageContext.request.serverName eq \'localhost\'}">
Eclipse throws up an error on this, saying:
Unable to analyze EL expression due to lexical analysis error
I'm unsure what this even means. Is this an eclipse bug? Am I mixing EL and the JSTL tags incorrectly?