Spring JSTL form:input tag the proper syntax is readonly=”true"
==============================================
<form:input path="caseId" readonly="true"/>
=======================================================================
And if you are using HTML tag input then this will be the tag readonly="readonly"
spring mvc form input readonly syntax is readonly="true"
for Html tag it is readonly="readonly"
==============================================
<form:input path="caseId" readonly="true"/>
=======================================================================
And if you are using HTML tag input then this will be the tag readonly="readonly"
<input name="caseId" readonly="readonly" class="required"/>
=======================================================================
for Html tag it is readonly="readonly"