web.xml???Servlet4.0????????????????????????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了web.xml???Servlet4.0????????????????????????相关的知识,希望对你有一定的参考价值。
?????????XML ????????? xmlns ati instance isp version javaee location
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
????????? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
????????? xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
????????????????????? ??? http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
??????version="4.0">
??????<display-name>website name</display-name>
??????<welcome-file-list>
????????????<welcome-file>index.html</welcome-file>
????????????<welcome-file>index.jsp</welcome-file>
??????</welcome-file-list>
</web-app>
以上是关于web.xml???Servlet4.0????????????????????????的主要内容,如果未能解决你的问题,请参考以下文章
No grammar constraints (DTD or XML Schema) referenced in the document.
将 servlet 4.0.1 升级到 servlet 5.0