web.xml文件的声明与联网的关系

NOTICE:

//MUST work with internet

<web-app 
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/web-app_2_4.xsd"
version="2.4">

 
//without internet this can work

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

 

估计是XML文件寻找标准的机制问题吧,时间紧张,暂时搁一下这个问题:  2008.9.23


 

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