The current date validation in
Struts 2 seems to target only for a range. How do I validate the value against a specified format?
I tried to use the required validator to ensure that the field is mandatory, but the check appears to pass through.
Is it a current limitation in the Struts 2 framework?
16:30:07,920 ERROR DateTimePicker:316 - Could not parse date
java.text.ParseException: Unparseable date: ""
at java.text.DateFormat.parse(Unknown Source)
at org.apache.struts2.components.DateTimePicker.format(DateTimePicker.java:309)
at org.apache.struts2.components.DateTimePicker.evaluateParams(DateTimePicker.java:209)
at org.apache.struts2.components.UIBean.end(UIBean.java:481)