web.xml的schema文件
Posted guoDaXia的博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了web.xml的schema文件相关的知识,希望对你有一定的参考价值。
2.3和2.4:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//SUN Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
2.5:
<?xml version="1.0" encoding="UTF-8"?> <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"> </web-app>
以上是关于web.xml的schema文件的主要内容,如果未能解决你的问题,请参考以下文章
不同版本(2.3-3.1)web.xml文件的schema头部声明
不同版本(2.3-3.1)web.xml文件的schema头部声明
不同版本(2.3-3.1)web.xml文件的schema头部声明
maven web项目的web.xml报错The markup in the document following the root element must be well-formed.(代码片段
Choose unique values for the 'webAppRootKey' context-param in your web.xml files! 错误的解决(代码片段
spring 的配置文件 是上个web.xml 加载spring容器中的/WEB-INF/application.xml 文件