<%@ page contentType="text/html" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> Bean Test ${b.title}, ${b.content}

date without formatting: ${a.date}

date formatted in bean: ${a.formattedDate}

time formatted in bean: ${a.formattedTime}

date formatted using JSTL:

time formatted using JSTL: