Answer the question
In order to leave comments, you need to log in
How to get rid of duplicate path JSTL in jsp page?
Good afternoon!
jsp page has code
<td>
<c:choose>
<c:when test="${affiliateProgramConstantInfo.login != null}">
<sf:input path="login" id="login_id" class="form-control input-sm" readonly="true"/>
</c:when>
<c:otherwise>
<sf:input path="login" id="login_id" class="form-control input-sm"/>
</c:otherwise>
</c:choose>
<div class="has-error">
<sf:errors path="login" class="help-inline"/>
</div>
</td>
Duplicate id reference less... (Ctrl+F1)
This inspection checks for duplicate "id" attributes in XML.
Answer the question
In order to leave comments, you need to log in
<td>
<sf:input path="login" id="login_id" class="form-control input-sm" readonly="${affiliateProgramConstantInfo.login != null}"/>
<div class="has-error">
<sf:errors path="login" class="help-inline"/>
</div>
</td>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question