I have gone through all the formats and able to work with them.
All examples shown are for just displaying only.. But If it is a text field then how to change the apply the date pattern..
Eg:
<input type="text" value="parsedDate"/>
In this case how to format the date ???
all examples are showing only for eg:
<fmt:formatDate value="${date}" type="both" timeStyle="long"
dateStyle="long" />
I want to apply the date format for text field...
Thanks in Advance
<input type="text" value="<fmt:formatDate value='${date}' type='both' timeStyle='long' dateStyle='long' />"/>
or
<fmt:formatDate var='formattedDate' value='${date}' type='both' timeStyle='long' dateStyle='long' />
<input type="text" value="${formattedDate}"/>