JSTL Java Tutorial

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

  
    Parse Date
  
  
    
      
        
          
            Date Formatting
          
        

        
          Enter a date to be parsed:
          
            
          
        

        
          
            
              
              
            


          
        

      

      

 


    
    
      
        
          
            Formatting: 
          
        

        
          type="date" dateStyle="short"
          
            
                            value="${param.num}" />
              
            
            
          
        

        
          type="date" dateStyle="medium"
          
            
                            value="${param.num}" />
              
            
            
          
        

        
          type="date" dateStyle="long"
          
            
                            value="${param.num}" />
              
            
            
          
        

        
          type="date" dateStyle="full"