Hello Everyone!
In using <fmt:parseDate>, In the month attribute value: If the months value is not inputted in the format of 01,02,03 ... for (January, February, March)
displaying the page with the following snippet code:
<fmt:parseDate var="dateValue" value="${birthDateYear}${birthDateMonth}${birthDateDay}" type="date" pattern="yyyyMMdd" />
<c:if test="${dateValue != ''}">
<fmt:formatDate value="${dateValue}" pattern="yyyyMMdd
</c:if>
it returns an exception:
javax.servlet.jsp.JspException: <parseDate> within,value attribute cannot be parse: "1981531"
because, entering single digit for May month, which is 5 causes error.
That is why, I used the simple
<c:out>script for printing yr, month and day the user entered.
Is there any idea about this?
Thanks and Cheers (^-^)/
yuubouna