I assign a formatted date to the <form:input> , but instead of the format date, the jstl code is assigned to the text field.
<form:input>
<form:input path="DOB" value="<fmt:formatDate pattern='dd/MM/yyyy' value='${editableUser.DOB}'/>" />
Try the following:
<fmt:formatDate pattern="dd/MM/yyyy" value="${editableUser.DOB}" var="myDateVar"/> <form:input path="DOB" value="${myDateVar}"/>
Tested and working.