1. If the entity class Date package is java.sql, then check out the sentence on the page can be displayed directly yyyy-MM-dd format, the problem does not occur in English, but you can not add the current time (new Date (); I still can not solve the problem).
2. If the entity is a packet Date class java.util, out of the query statement To display format yyyy-MM-dd must add <fmt: formatDate value = "$ {student.birtherDay}" pattern = "yyyy -MM-dd "/>, the current time can be added directly.