JSTL Java Tutorial

index.jsp

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

  Please enter your birthday:
  
    January
    February
    March
    April
    May
    June
    July
    August
    September
    October
    November
    December
  
  
    
      
    
  
  
    
      
    
  
  

dateHandler.jsp

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
  var="date"
  parseLocale="en_US"
  value="${param.month} ${param.day}, ${param.year}"/>
You were born
  value="${date}"
  dateStyle="full"/>.