1.在页面上引用<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

2.在需要限定格式的地方:<fmt:formatDate value="" pattern="yyyy-MM-dd"/>

格式可以自己定义。