taglib jstl code example
Example 1: jstl format in c:set
<fmt:formatDate value=".." pattern=".." var="strDate" />
Example 2: jstl fmt taglib
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:formatDate value=".." pattern=".." var="strDate" />
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>