jstl中的日期格式化

<%    String strdate="2004/04/01";    Date a=new Date(strdate);    request.setAttribute("a",a);  %>  <fmt:formatDate pattern="【yyyy-MM-dd】" value="${a}" type="both"/>java  web.xmlweb     < jsp-config
相關文章
相關標籤/搜索