在JSP中引入JSTL标签库


<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>


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


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


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


<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>

    
        
            http://java.sun.com/jstl/core
            /WEB-INF/tlds/c.tld
        
        
            http://java.sun.com/jstl/core-rt
            /WEB-INF/tlds/c-rt.tld
        
		
        
            http://java.sun.com/jstl/fmt
            /WEB-INF/fmt.tld
        
        
            http://java.sun.com/jstl/fmt-rt
            /WEB-INF/fmt-rt.tld
        
		
        
            http://java.sun.com/jstl/sql
            /WEB-INF/sql.tld
        
        
	        http://java.sun.com/jstl/sql-rt
            /WEB-INF/sql-rt.tld
        
		
        
            http://java.sun.com/jstl/x
            /WEB-INF/x.tld
        
        
            http://java.sun.com/jstl/x-rt
            /WEB-INF/x-rt.tld
        
		
        
            http://java.sun.com/jstl/fn
            /web-inf/fn.tld
        
        
            http://java.sun.com/jstl/fn-rt
            /WEB-INF/fn-rt.tld
        
    

 

你可能感兴趣的:(java)