记一记自用
当然,在idea中的项目里添加框架支持勾选web那一栏也同样可以直接获取,或者在tomcat的webapps\ROOT\WEB-INF中也一样可以获取
<?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">
</web-app>