j2ee1.4和javaee5区别,jstl1.1和jstl1.0区别

  TOMCAT SERVLET JSP JSTL JDK
  3.3.x 2.2 1.1   1.2
  4.1.x 2.3 1.2 1.0 1.3
  5.5.x/5.0.x 2.4 2.0 1.1 1.4
  6.0.x 2.5 2.1   5.0
           

 

JSTL1.1和JSP2.0
<web-app version
="2.4" 
    xmlns
="http://java.sun.com/xml/ns/j2ee"
 
    xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
 
    xsi:schemaLocation
="
http://java.sun.com/xml/ns/j2ee 
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
"
>

</web-app>

JSTL1.0和JSP1
.2


<web-app version
="2.3" 
    xmlns
="http://java.sun.com/xml/ns/j2ee"
 
    xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
 
    xsi:schemaLocation
="
http://java.sun.com/xml/ns/j2ee 
    http://java.sun.com/xml/ns/j2ee/web-app_2_3.xsd
"
>

</web-app>

1.0引入方式

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

1.1引入方式

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

 

 tomcat 5.5 jdk1.4 需要apache-tomcat-5.5.28-compat

你可能感兴趣的:(java,tomcat,Web,xml,sun)