Can IntelliJ Idea be made to understand JSTL?

Answered

I was very surprised to discover that IDEA does not understand JSTL by default.  For example, when I tried the snippet below... it gave me a Duplicate id reference on the Spring MVC path value.

Is there a way to make IDEA understand that only one of those two instances is being used so that it does not flag it as an error?

<c:choose >
<c:when test="${isEdit}">
<form:input type="time" step="60" path="job.schedStartTime.HTML5Time" />
</c:when>
<c:otherwise>
<form:input type="time" step="60" path="job.schedStartTime.HTML5Time" readonly="true"/>
</c:otherwise>
</c:choose>
0

Please sign in to leave a comment.